Skip to content

Commit

Permalink
ditch structopt in favor of clap 3.0 beta1
Browse files Browse the repository at this point in the history
It's bascially the same, but should make getting size improvements
way easier.
  • Loading branch information
Byron committed Aug 6, 2020
1 parent 0a4b0f3 commit d7591e2
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 75 deletions.
93 changes: 62 additions & 31 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ light = ["fast", "lean-cli", "git-features/interruptible"]
small = ["lean-cli"]

fast = ["git-features/parallel", "git-features/fast-sha1"]
pretty-cli = ["structopt",
pretty-cli = ["clap",
"git-features/progress-prodash",
"git-features/interruptible",
"gitoxide-core/serde1",
Expand All @@ -61,7 +61,7 @@ anyhow = "1.0.31"
gitoxide-core = { version = "0.1.0", path = "gitoxide-core" }
git-features = { version = "^0.2.0", path = "git-features" }

structopt = { version = "0.3.14", optional = true }
clap = { version = "3.0.0-beta.1", optional = true }
argh = { version = "0.1.3", optional = true, default-features = false }
prodash = { version = "7.0.2", optional = true, default-features = false }
atty = { version = "0.2.14", optional = true, default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ The top-level command-line interface.
* If disabled, the binary will be visibly smaller.
* _(mutually exclusive)_
* **pretty-cli**
* Use `clap` + `structopt` to build the prettiest, best documented and most user-friendly CLI at the expense of file size.
* Use `clap` 3.0 to build the prettiest, best documented and most user-friendly CLI at the expense of file size.
* provides a terminal user interface for detailed and exhaustive progress.
* provides a line renderer for log-like progress
* **lean-cli**
Expand Down

0 comments on commit d7591e2

Please sign in to comment.