Skip to content

Commit

Permalink
feat!: kdl 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 10, 2025
1 parent b3cb03a commit 1b6cc11
Show file tree
Hide file tree
Showing 37 changed files with 4,382 additions and 2,190 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ jobs:
with:
submodules: recursive
- uses: jdx/mise-action@v2
- run: gh release edit ${{ github.ref_name }} --draft=false
- run: gh release edit ${{ github.ref_name }} --draft=#false
137 changes: 93 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions clap_usage/tests/snapshots/simple__simple.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ source: clap_usage/tests/simple.rs
expression: output
snapshot_kind: text
---
name "example"
bin "example"
name example
bin example
usage "Usage: example [OPTIONS]"
flag "--file" help="some input file" {
arg "<FILE>"
flag --file help="some input file" {
arg <FILE>
}
flag "--usage"
flag --usage
5 changes: 1 addition & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,18 @@ path = "src/lib.rs"
[dependencies]
clap = { version = "4", features = ["derive", "string", "env"] }
clap_usage = { workspace = true }
contracts = "0.6"
env_logger = "0.11"
exec = "0.3"
heck = "0.5"
indexmap = "2"
itertools = "0.14"
kdl = "= 4.7.0" # upgrade when it supports new miette
kdl = "6"
log = "0.4"
miette = { version = "7", features = ["fancy"] }
once_cell = "1"
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
serde_with = "3.11"
strum = { version = "0.26", features = ["derive"] }
tera = "1"
thiserror = "2"
usage-lib = { workspace = true, features = ["clap", "docs"] }
Expand Down
Loading

0 comments on commit 1b6cc11

Please sign in to comment.