| 1 | ## CLI interface - greet |
| 2 | |
| 3 | Description of the application. |
| 4 | |
| 5 | Some app. |
| 6 | |
| 7 | > app [first_arg] [second_arg] |
| 8 | |
| 9 | Usage: |
| 10 | |
| 11 | ```bash |
| 12 | $ /usr/local/bin [GLOBAL FLAGS] [COMMAND] [COMMAND FLAGS] [ARGUMENTS...] |
| 13 | ``` |
| 14 | |
| 15 | Global flags: |
| 16 | |
| 17 | | Name | Description | Default value | Environment variables | |
| 18 | |-----------------------------|--------------------|:-------------:|:-----------------------:| |
| 19 | | `--socket="…"` (`-s`) | some 'usage' text | `value` | *none* | |
| 20 | | `--flag="…"` (`--fl`, `-f`) | | | *none* | |
| 21 | | `--another-flag` (`-b`) | another usage text | `false` | `EXAMPLE_VARIABLE_NAME` | |
| 22 | |
| 23 | ### `config` command (aliases: `c`) |
| 24 | |
| 25 | another usage test. |
| 26 | |
| 27 | Usage: |
| 28 | |
| 29 | ```bash |
| 30 | $ /usr/local/bin [GLOBAL FLAGS] config [COMMAND FLAGS] [ARGUMENTS...] |
| 31 | ``` |
| 32 | |
| 33 | The following flags are supported: |
| 34 | |
| 35 | | Name | Description | Default value | Environment variables | |
| 36 | |-----------------------------|--------------------|:-------------:|:---------------------:| |
| 37 | | `--flag="…"` (`--fl`, `-f`) | | | *none* | |
| 38 | | `--another-flag` (`-b`) | another usage text | `false` | *none* | |
| 39 | |
| 40 | ### `config sub-config` subcommand (aliases: `s`, `ss`) |
| 41 | |
| 42 | another usage test. |
| 43 | |
| 44 | Usage: |
| 45 | |
| 46 | ```bash |
| 47 | $ /usr/local/bin [GLOBAL FLAGS] config sub-config [COMMAND FLAGS] [ARGUMENTS...] |
| 48 | ``` |
| 49 | |
| 50 | The following flags are supported: |
| 51 | |
| 52 | | Name | Description | Default value | Environment variables | |
| 53 | |-------------------------------------|-----------------|:-------------:|:---------------------:| |
| 54 | | `--sub-flag="…"` (`--sub-fl`, `-s`) | | | *none* | |
| 55 | | `--sub-command-flag` (`-s`) | some usage text | `false` | *none* | |
| 56 | |
| 57 | ### `info` command (aliases: `i`, `in`) |
| 58 | |
| 59 | retrieve generic information. |
| 60 | |
| 61 | Usage: |
| 62 | |
| 63 | ```bash |
| 64 | $ /usr/local/bin [GLOBAL FLAGS] info [ARGUMENTS...] |
| 65 | ``` |
| 66 | |
| 67 | ### `some-command` command |
| 68 | |
| 69 | Usage: |
| 70 | |
| 71 | ```bash |
| 72 | $ /usr/local/bin [GLOBAL FLAGS] some-command [ARGUMENTS...] |
| 73 | ``` |
| 74 | |
| 75 | ### `usage` command (aliases: `u`) |
| 76 | |
| 77 | standard usage text. |
| 78 | |
| 79 | > Usage for the usage text |
| 80 | > - formatted: Based on the specified ConfigMap and summon secrets.yml |
| 81 | > - list: Inspect the environment for a specific process running on a Pod |
| 82 | > - for_effect: Compare 'namespace' environment with 'local' |
| 83 | > ``` |
| 84 | > func() { ... } |
| 85 | > ``` |
| 86 | > Should be a part of the same code block |
| 87 | |
| 88 | Usage: |
| 89 | |
| 90 | ```bash |
| 91 | $ /usr/local/bin [GLOBAL FLAGS] usage [COMMAND FLAGS] [ARGUMENTS...] |
| 92 | ``` |
| 93 | |
| 94 | The following flags are supported: |
| 95 | |
| 96 | | Name | Description | Default value | Environment variables | |
| 97 | |-----------------------------|--------------------|:-------------:|:---------------------:| |
| 98 | | `--flag="…"` (`--fl`, `-f`) | | | *none* | |
| 99 | | `--another-flag` (`-b`) | another usage text | `false` | *none* | |
| 100 | |
| 101 | ### `usage sub-usage` subcommand (aliases: `su`) |
| 102 | |
| 103 | standard usage text. |
| 104 | |
| 105 | > Single line of UsageText |
| 106 | |
| 107 | Usage: |
| 108 | |
| 109 | ```bash |
| 110 | $ /usr/local/bin [GLOBAL FLAGS] usage sub-usage [COMMAND FLAGS] [ARGUMENTS...] |
| 111 | ``` |
| 112 | |
| 113 | The following flags are supported: |
| 114 | |
| 115 | | Name | Description | Default value | Environment variables | |
| 116 | |-----------------------------|-----------------|:-------------:|:---------------------:| |
| 117 | | `--sub-command-flag` (`-s`) | some usage text | `false` | *none* | |