Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clap #5152

Merged
merged 69 commits into from
Mar 13, 2018
Merged

Clap #5152

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
38f81e0
Port bench and build to clap
matklad Mar 6, 2018
178b16d
Temporarly ignore some tests
matklad Mar 7, 2018
0ac7251
Move check to clap
matklad Mar 7, 2018
51f1c4a
Move clean to clap
matklad Mar 7, 2018
84a89eb
Move doc to clap
matklad Mar 7, 2018
5452763
Move fetch to clap
matklad Mar 7, 2018
287d352
Move generate-lockfile to clap
matklad Mar 7, 2018
562af31
Move git-checkout to clap
matklad Mar 7, 2018
4131bdb
Move init to clap
matklad Mar 7, 2018
8518be6
Specify frozen & locked for all commands simultaneously
matklad Mar 7, 2018
57789d7
Move install to clap
matklad Mar 7, 2018
3c86dc1
Move locate-project to clap
matklad Mar 7, 2018
de90d8d
Move login to clap
matklad Mar 7, 2018
6022d02
Move metadata to clap
matklad Mar 7, 2018
062a6e7
Move new to clap
matklad Mar 7, 2018
01d908a
Move owner to clap
matklad Mar 7, 2018
4e8d753
Move package to clap
matklad Mar 7, 2018
5c81353
Move pkgid to clap
matklad Mar 7, 2018
d3494e7
Move publish to clap
matklad Mar 8, 2018
5870d5b
Move read-manifest to clap
matklad Mar 8, 2018
7bf1619
Move run to clap
matklad Mar 8, 2018
8e8e924
Move rustc to clap
matklad Mar 8, 2018
ecb5b15
Move rustdoc to clap
matklad Mar 8, 2018
ce249e3
Don't copy-paste package argument
matklad Mar 8, 2018
cf06a18
Don't copy-paste index argument
matklad Mar 8, 2018
444101a
Move search to clap
matklad Mar 8, 2018
ed20c12
Move test to clap
matklad Mar 8, 2018
1376f40
Move uninstall to clap
matklad Mar 8, 2018
666e232
Move the rest of the commands to clap
matklad Mar 8, 2018
c327245
Drop old commands
matklad Mar 8, 2018
31ea0d9
Fix some trivially fixable tests
matklad Mar 8, 2018
4d3ca92
Use exit code 1 for command line parsing errors
matklad Mar 8, 2018
a8aea47
Restore global initialization
matklad Mar 8, 2018
8b4f06c
Cleanup
matklad Mar 8, 2018
81ce3e1
Support external subcommands
matklad Mar 8, 2018
35365a6
Support built-in aliases
matklad Mar 8, 2018
63d4e5c
Fix verify-project command
matklad Mar 8, 2018
af88c9f
Disable `cargo help -h`
matklad Mar 8, 2018
89c6d77
Unignore test which now passes
matklad Mar 8, 2018
6783272
Fix more tests by updating error messages
matklad Mar 8, 2018
93875b8
Support aliases
matklad Mar 8, 2018
0470d77
Support list subcommand
matklad Mar 8, 2018
cc3ce00
Fix `--explain`
matklad Mar 8, 2018
7a3dd73
Remove dead code
matklad Mar 8, 2018
9810e49
Fix typo
matklad Mar 8, 2018
901065f
Fix after rebase
matklad Mar 8, 2018
285fbdf
Remove docopt dependency
matklad Mar 8, 2018
f214564
Remove dead code
matklad Mar 8, 2018
16bde4e
Unwind stack for cli errors
matklad Mar 9, 2018
67968e6
Validate that `jobs` argument is a number
matklad Mar 9, 2018
bb643cc
Make command-line arguments owned
matklad Mar 9, 2018
207a51f
Introduce command_prelude module
matklad Mar 10, 2018
7acd343
Move command_prelude to a separate file
matklad Mar 10, 2018
66bb9dc
Reorganize subcommands as a separate submodule
matklad Mar 10, 2018
8b80440
Rename CommonArgs -> AppExt
matklad Mar 10, 2018
7dcc030
Inline `config_from_args`
matklad Mar 10, 2018
2c9b6aa
Introduce ArgMatchesExt trait
matklad Mar 10, 2018
8f1881e
Move some arg parsing to ArgMatchesExt
matklad Mar 10, 2018
d8d1f13
Make `target` option owned in various configs
matklad Mar 10, 2018
90b4a04
Move `compile_options` to `ArgMatchesExt`
matklad Mar 10, 2018
50284b1
Move `new_options` to `ArgMatchesExt`
matklad Mar 10, 2018
4fac2fb
Move `index` & `registry` to `ArgMatchesExt`
matklad Mar 10, 2018
c180e17
Tweak the help message
matklad Mar 10, 2018
823f1ff
Validate the limit argument
matklad Mar 10, 2018
a64df78
Relax tests for windows
matklad Mar 10, 2018
e68c682
Cleanups
matklad Mar 11, 2018
74f4089
Fix spelling of quiet
matklad Mar 12, 2018
f2f062c
Use `avoid_dev_deps` for all commands
matklad Mar 12, 2018
6b9c063
File per command
matklad Mar 12, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ crates-io = { path = "src/crates-io", version = "0.16" }
crossbeam = "0.3"
crypto-hash = "0.3"
curl = "0.4.6"
docopt = "0.8.1"
env_logger = "0.5"
failure = "0.1.1"
filetime = "0.1"
Expand Down Expand Up @@ -54,6 +53,7 @@ tempdir = "0.3"
termcolor = "0.3"
toml = "0.4"
url = "1.1"
clap = "2.27.0"

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = { version = "0.5.1", features = ["mac_os_10_7_support"] }
Expand Down
159 changes: 0 additions & 159 deletions src/bin/bench.rs

This file was deleted.

133 changes: 0 additions & 133 deletions src/bin/build.rs

This file was deleted.

Loading