advotracker: commandline parsing support
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -11,3 +11,8 @@ license = "MIT"
|
|||||||
#opt-level = "3"
|
#opt-level = "3"
|
||||||
# optimize to smallest size
|
# optimize to smallest size
|
||||||
opt-level = "z"
|
opt-level = "z"
|
||||||
|
|
||||||
|
[dependencies.clap]
|
||||||
|
version = "2.33"
|
||||||
|
default-features = false
|
||||||
|
features = [ "suggestions", "color", "yaml" ]
|
||||||
|
|||||||
25
src/cli.yml
Normal file
25
src/cli.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: AdvoTracker
|
||||||
|
version: "0.0.1"
|
||||||
|
author: Ralf Zerres <ralf.zerres@networkx.de>
|
||||||
|
#about: AdvoTracker unterstützt Anwälte bei der Erfassung relevanter Mandatsdaten in einer Online-Beratung
|
||||||
|
about: AdvoTracker supports lawyers to capture relevant data encountered during an online legal advice
|
||||||
|
args:
|
||||||
|
- config:
|
||||||
|
short: c
|
||||||
|
long: config
|
||||||
|
value_name: FILE
|
||||||
|
help: Sets a custom config file
|
||||||
|
takes_value: true
|
||||||
|
- verbose:
|
||||||
|
short: v
|
||||||
|
multiple: true
|
||||||
|
help: Sets the level of verbosity
|
||||||
|
subcommands:
|
||||||
|
- test:
|
||||||
|
about: controls testing features
|
||||||
|
version: "0.1"
|
||||||
|
author: Ralf Zerres <ralf.zerres@networkx.de>
|
||||||
|
args:
|
||||||
|
- debug:
|
||||||
|
short: d
|
||||||
|
help: print debug information
|
||||||
Reference in New Issue
Block a user