Skip to content

Commit ab0217e

Browse files
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 ratchet
1 parent 6a91517 commit ab0217e

46 files changed

Lines changed: 9851 additions & 1309 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Cargo.lock‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ sha2 = "0.10"
9090
sqlbuild-analysis = { path = "crates/sqlbuild-analysis" }
9191
sqlbuild-attachments = { path = "crates/sqlbuild-attachments" }
9292
sqlbuild-cache = { path = "crates/sqlbuild-cache" }
93+
sqlbuild-cli = { path = "crates/sqlbuild-cli" }
9394
sqlbuild-config = { path = "crates/sqlbuild-config" }
9495
sqlbuild-core = { path = "crates/sqlbuild-core" }
9596
sqlbuild-discovery = { path = "crates/sqlbuild-discovery" }

0 commit comments

Comments
 (0)