Skip to content

Commit

Permalink
Remove unused CLI parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSchZA committed May 15, 2019
1 parent 52d6344 commit 62e9410
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

62 changes: 31 additions & 31 deletions src/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ args:
value_name: FILE
help: sets a custom config file (default "$HOME/.pier")
takes_value: true
- accept:
short: y
long: accept
help: answer yes to all questions
# - accept:
# short: y
# long: accept
# help: answer yes to all questions
subcommands:
- add:
about: Add a script using alias
Expand All @@ -31,22 +31,22 @@ subcommands:
required: true
help: alias/name for script
takes_value: true
- description:
short: d
long: description
help: description for script
takes_value: true
- reference:
short: r
long: reference
help: reference for script
takes_value: true
- tags:
short: t
long: tags
help: tags for script
takes_value: true
multiple: true
# - description:
# short: d
# long: description
# help: description for script
# takes_value: true
# - reference:
# short: r
# long: reference
# help: reference for script
# takes_value: true
# - tags:
# short: t
# long: tags
# help: tags for script
# takes_value: true
# multiple: true
- remove:
about: Remove a script using alias
args:
Expand All @@ -66,11 +66,11 @@ subcommands:
long: arg
help: pass argument to script
takes_value: true
- dir:
short: d
long: dir
help: run script in directory
takes_value: true
# - dir:
# short: d
# long: dir
# help: run script in directory
# takes_value: true
- list:
about: List all scripts with optional filters
args:
Expand All @@ -79,9 +79,9 @@ subcommands:
long: alias
help: alias/name for script
takes_value: true
- tags:
short: t
long: tags
help: tags for script
takes_value: true
multiple: true
# - tags:
# short: t
# long: tags
# help: tags for script
# takes_value: true
# multiple: true

0 comments on commit 62e9410

Please sign in to comment.