Update readme, add conflict
This commit is contained in:
parent
b781a7ff4a
commit
f75d03c570
@ -15,18 +15,17 @@ This is the harmony CLI, a minimal implementation
|
|||||||
The current help text:
|
The current help text:
|
||||||
|
|
||||||
````
|
````
|
||||||
Usage: harmony_cli [OPTIONS]
|
Usage: example-cli [OPTIONS]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-r, --run Run score(s) or not
|
-y, --yes Run score(s) or not
|
||||||
-f, --filter <FILTER> Filter query
|
-f, --filter <FILTER> Filter query
|
||||||
-i, --interactive Run interactive TUI or not
|
-i, --interactive Run interactive TUI or not
|
||||||
-a, --all Run all or nth, defaults to all
|
-a, --all Run all or nth, defaults to all
|
||||||
-n, --number <NUMBER> Run nth matching, zero indexed [default: 0]
|
-n, --number <NUMBER> Run nth matching, zero indexed [default: 0]
|
||||||
-l, --list list scores, will also be affected by run filter
|
-l, --list list scores, will also be affected by run filter
|
||||||
-h, --help Print help
|
-h, --help Print help
|
||||||
-V, --version Print version
|
-V, --version Print version```
|
||||||
```
|
|
||||||
|
|
||||||
## Core architecture
|
## Core architecture
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,8 @@ pub struct Args {
|
|||||||
short,
|
short,
|
||||||
long,
|
long,
|
||||||
default_value_t = true,
|
default_value_t = true,
|
||||||
default_value_if("number", ArgPredicate::IsPresent, "false")
|
default_value_if("number", ArgPredicate::IsPresent, "false"),
|
||||||
|
conflicts_with = "number"
|
||||||
)]
|
)]
|
||||||
all: bool,
|
all: bool,
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user