Repository navigation
Commit ab0217e
authored
refactor(cli): parse sqb arguments natively (#1096)
* refactor(cli): parse sqb arguments natively with argparse-compatible output
Move argv parsing, help/usage/error formatting and parse_cli_invocation's
post-parse rules into a Rust argv domain in sqlbuild-cli, driven by an
embedded command table, and expose it through _native.parse_cli_arguments.
Delete the Python argparse parser, its argument helpers and the coded
parser class.
* fix(cli): track the embedded sqb command table outside the ignored data directory
* chore: update the Python boundary ratchet1 parent 6a91517 commit ab0217e
46 files changed
Lines changed: 9851 additions & 1309 deletions
File tree
- crates
- sqlbuild-cli/src
- argv
- _helpers
- main
- tests
- sqlbuild-python
- src/bindings
- _helpers
- cli
- main
- src/sqlbuild
- cli/commands
- _helpers/entry
- classes
- main/entrypoint
- tests
- integration/src/sqlbuild/cli
- commands/main
- entry
- unit/src/sqlbuild/cli/commands/_helpers
- entry
- runtime
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
0 commit comments