Add cli spec
This commit is contained in:
parent
670f0e16e9
commit
1a7b31517d
1 changed files with 46 additions and 0 deletions
46
etc/cli.yml
46
etc/cli.yml
|
@ -340,6 +340,52 @@ subcommands:
|
||||||
required: false
|
required: false
|
||||||
takes_value: true
|
takes_value: true
|
||||||
|
|
||||||
|
- links:
|
||||||
|
about: List links in notes
|
||||||
|
version: 0.1
|
||||||
|
author: Matthias Beyer <mail@beyermatthias.de>
|
||||||
|
args:
|
||||||
|
- internal:
|
||||||
|
short: i
|
||||||
|
long: intern
|
||||||
|
help: List only links to imag content
|
||||||
|
required: false
|
||||||
|
takes_value: false
|
||||||
|
|
||||||
|
- external:
|
||||||
|
short: e
|
||||||
|
long: extern
|
||||||
|
help: List only links to outside of imag
|
||||||
|
required: false
|
||||||
|
takes_value: false
|
||||||
|
|
||||||
|
- id:
|
||||||
|
long: id
|
||||||
|
help: Delete Note by ID
|
||||||
|
required: false
|
||||||
|
takes_value: true
|
||||||
|
|
||||||
|
- namegrep:
|
||||||
|
short: n
|
||||||
|
long: name
|
||||||
|
help: Filter for name which matches this regex
|
||||||
|
required: false
|
||||||
|
takes_value: true
|
||||||
|
|
||||||
|
- grep:
|
||||||
|
short: g
|
||||||
|
long: grep
|
||||||
|
help: grep with regex
|
||||||
|
required: false
|
||||||
|
takes_value: true
|
||||||
|
|
||||||
|
- tags:
|
||||||
|
short: t
|
||||||
|
long: tags
|
||||||
|
help: Filter for these tags
|
||||||
|
required: false
|
||||||
|
takes_value: true
|
||||||
|
|
||||||
- remove:
|
- remove:
|
||||||
about: Remove note(s)
|
about: Remove note(s)
|
||||||
version: 0.1
|
version: 0.1
|
||||||
|
|
Loading…
Reference in a new issue