.Dd $Mdocdate$ .Dt sub-commands 1 .Os .Sh NAME .Nm sub-commands .Nd example with subcommands .Sh VERSION 0.0.0 .Sh SYNOPSIS sub-commands [--config-file FILE_PATH] COMMAND .Sh SETTINGS Show this help text switch: -h|--help Output version information: 0.0.0 switch: --version Path to the configuration file option: --config-file FILE_PATH env: CONFIG_FILE FILE_PATH .Sh COMMANDS command without subcommands command: top name option: --name NAME env: NAME NAME config: name: # or null example: john command with subcommands command: sub A command: a B command: b C command: c (default) D command: d .Sh OPTIONS -h|--help Show this help text --version Output version information: 0.0.0 --config-file Path to the configuration file top command without subcommands --name name example: john sub command with subcommands a A b B c (default) C d D .Sh ENVIRONMENT VARIABLES CONFIG_FILE FILE_PATH Path to the configuration file NAME NAME name example: john .Sh CONFIGURATION VALUES name example: john name: # or null