rwxrob / cmdtab

Apache License 2.0
13 stars 0 forks source link

Correct stand-alone help and version #15

Open rwxrob opened 3 years ago

rwxrob commented 3 years ago

When cmdtab-* commands are used as standalone commands they do not have their help and version method implemented. This is because those methods are peers of the command itself when used in monoliths. Somehow we need to detect standalone context and add these as subcommands (since there is no opportunity to call them as peers).