Skip to content

Commit 62e9410

Browse files
committed
Remove unused CLI parameters
1 parent 52d6344 commit 62e9410

2 files changed

Lines changed: 33 additions & 31 deletions

File tree

Cargo.lock

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

src/cli.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ args:
1313
value_name: FILE
1414
help: sets a custom config file (default "$HOME/.pier")
1515
takes_value: true
16-
- accept:
17-
short: y
18-
long: accept
19-
help: answer yes to all questions
16+
# - accept:
17+
# short: y
18+
# long: accept
19+
# help: answer yes to all questions
2020
subcommands:
2121
- add:
2222
about: Add a script using alias
@@ -31,22 +31,22 @@ subcommands:
3131
required: true
3232
help: alias/name for script
3333
takes_value: true
34-
- description:
35-
short: d
36-
long: description
37-
help: description for script
38-
takes_value: true
39-
- reference:
40-
short: r
41-
long: reference
42-
help: reference for script
43-
takes_value: true
44-
- tags:
45-
short: t
46-
long: tags
47-
help: tags for script
48-
takes_value: true
49-
multiple: true
34+
# - description:
35+
# short: d
36+
# long: description
37+
# help: description for script
38+
# takes_value: true
39+
# - reference:
40+
# short: r
41+
# long: reference
42+
# help: reference for script
43+
# takes_value: true
44+
# - tags:
45+
# short: t
46+
# long: tags
47+
# help: tags for script
48+
# takes_value: true
49+
# multiple: true
5050
- remove:
5151
about: Remove a script using alias
5252
args:
@@ -66,11 +66,11 @@ subcommands:
6666
long: arg
6767
help: pass argument to script
6868
takes_value: true
69-
- dir:
70-
short: d
71-
long: dir
72-
help: run script in directory
73-
takes_value: true
69+
# - dir:
70+
# short: d
71+
# long: dir
72+
# help: run script in directory
73+
# takes_value: true
7474
- list:
7575
about: List all scripts with optional filters
7676
args:
@@ -79,9 +79,9 @@ subcommands:
7979
long: alias
8080
help: alias/name for script
8181
takes_value: true
82-
- tags:
83-
short: t
84-
long: tags
85-
help: tags for script
86-
takes_value: true
87-
multiple: true
82+
# - tags:
83+
# short: t
84+
# long: tags
85+
# help: tags for script
86+
# takes_value: true
87+
# multiple: true

0 commit comments

Comments
 (0)