| 1 | ```console |
| 2 | $ 04_03_relations --help |
| 3 | A simple to use, efficient, and full-featured Command Line Argument Parser |
| 4 | |
| 5 | Usage: 04_03_relations[EXE] [OPTIONS] <--set-ver <VER>|--major|--minor|--patch> [INPUT_FILE] |
| 6 | |
| 7 | Arguments: |
| 8 | [INPUT_FILE] some regular input |
| 9 | |
| 10 | Options: |
| 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 |
| 21 | ? failed |
| 22 | error: the following required arguments were not provided: |
| 23 | <--set-ver <VER>|--major|--minor|--patch> |
| 24 | |
| 25 | Usage: 04_03_relations[EXE] <--set-ver <VER>|--major|--minor|--patch> [INPUT_FILE] |
| 26 | |
| 27 | For more information, try '--help'. |
| 28 | |
| 29 | $ 04_03_relations --major |
| 30 | Version: 2.2.3 |
| 31 | |
| 32 | $ 04_03_relations --major --minor |
| 33 | ? failed |
| 34 | error: the argument '--major' cannot be used with '--minor' |
| 35 | |
| 36 | Usage: 04_03_relations[EXE] <--set-ver <VER>|--major|--minor|--patch> [INPUT_FILE] |
| 37 | |
| 38 | For more information, try '--help'. |
| 39 | |
| 40 | $ 04_03_relations --major -c config.toml |
| 41 | ? failed |
| 42 | error: the following required arguments were not provided: |
| 43 | <INPUT_FILE|--spec-in <SPEC_IN>> |
| 44 | |
| 45 | Usage: 04_03_relations[EXE] -c <CONFIG> <--set-ver <VER>|--major|--minor|--patch> <INPUT_FILE|--spec-in <SPEC_IN>> |
| 46 | |
| 47 | For more information, try '--help'. |
| 48 | |
| 49 | $ 04_03_relations --major -c config.toml --spec-in input.txt |
| 50 | Version: 2.2.3 |
| 51 | Doing work using input input.txt and config config.toml |
| 52 | |
| 53 | ``` |