• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1```console
2$ 04_03_relations_derive --help
3A simple to use, efficient, and full-featured Command Line Argument Parser
4
5Usage: 04_03_relations_derive[EXE] [OPTIONS] <--set-ver <VER>|--major|--minor|--patch> [INPUT_FILE]
6
7Arguments:
8  [INPUT_FILE]  some regular input
9
10Options:
11      --set-ver <VER>      set version manually
12      --major              auto inc major
13      --minor              auto inc minor
14      --patch              auto inc patch
15      --spec-in <SPEC_IN>  some special input argument
16  -c <CONFIG>
17  -h, --help               Print help
18  -V, --version            Print version
19
20$ 04_03_relations_derive
21? failed
22error: the following required arguments were not provided:
23  <--set-ver <VER>|--major|--minor|--patch>
24
25Usage: 04_03_relations_derive[EXE] <--set-ver <VER>|--major|--minor|--patch> [INPUT_FILE]
26
27For more information, try '--help'.
28
29$ 04_03_relations_derive --major
30Version: 2.2.3
31
32$ 04_03_relations_derive --major --minor
33? failed
34error: the argument '--major' cannot be used with '--minor'
35
36Usage: 04_03_relations_derive[EXE] <--set-ver <VER>|--major|--minor|--patch> [INPUT_FILE]
37
38For more information, try '--help'.
39
40$ 04_03_relations_derive --major -c config.toml
41? failed
42error: the following required arguments were not provided:
43  <INPUT_FILE|--spec-in <SPEC_IN>>
44
45Usage: 04_03_relations_derive[EXE] -c <CONFIG> <--set-ver <VER>|--major|--minor|--patch> <INPUT_FILE|--spec-in <SPEC_IN>>
46
47For more information, try '--help'.
48
49$ 04_03_relations_derive --major -c config.toml --spec-in input.txt
50Version: 2.2.3
51Doing work using input input.txt and config config.toml
52
53```
54