Skip to content

Feat/cliupd#237

Merged
pyramation merged 7 commits intomainfrom
feat/cliupd
Sep 17, 2025
Merged

Feat/cliupd#237
pyramation merged 7 commits intomainfrom
feat/cliupd

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

No description provided.

- Implement lql add <changeName> command
- Support --requires and --note options
- Create deploy/revert/verify SQL file triplets
- Update plan files with new changes
- Handle nested paths with mkdir -p behavior
- Follow existing CLI command patterns

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Remove complex package selection logic from CLI
- Move all validation into addChange() method
- Follow analyze/rename pattern for simplicity
- Remove excessive logging and directory changing
- Use direct argv.cwd pattern

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Add command is text/SQL only operation as requested
- No database connection needed for file creation

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- CLI tests cover command execution, input prompting, file creation
- Core tests cover addChange method, validation, error handling
- Test nested paths, dependencies, and SQL file content
- Verify no transaction statements in generated SQL files
- Follow established testing patterns from existing test suites

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
- Test 4-level deep path: schema/myschema/tables/mytable
- Verify mkdir -p behavior works for deeply nested directories
- Ensure SQL files are created in correct nested structure
- Both CLI and core tests pass with new test case

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
@pyramation pyramation merged commit 23ee195 into main Sep 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant