Summary
Update the init command to scan the project directory for existing Data/*.sql files. If such files are found, extract table names and propose a list of initial trackedTables for inclusion in the config file. Prompt the user with the list and ask for confirmation before making changes.
Acceptance Criteria
init scans for Data/*.sql files in the project directory.
- Extract probable table names from these SQL files.
- Present the user with a proposed list of
trackedTables to add to the config.
- Command asks user for confirmation before saving the changes.
- Existing behavior remains unchanged if no
Data/*.sql files are found.
Motivation: Streamlines setup for existing projects with SQL files, reducing manual configuration steps.
Referenced from /create-issue request.
Summary
Update the
initcommand to scan the project directory for existingData/*.sqlfiles. If such files are found, extract table names and propose a list of initialtrackedTablesfor inclusion in the config file. Prompt the user with the list and ask for confirmation before making changes.Acceptance Criteria
initscans forData/*.sqlfiles in the project directory.trackedTablesto add to the config.Data/*.sqlfiles are found.Motivation: Streamlines setup for existing projects with SQL files, reducing manual configuration steps.
Referenced from /create-issue request.