bilal-fazlani / commanddotnet

A modern framework for building modern CLI apps
https://commanddotnet.bilal-fazlani.com
MIT License
575 stars 29 forks source link

spike: modify usage - use two lines when subcommands... #232

Closed drewburlingame closed 4 years ago

drewburlingame commented 4 years ago

and the target command is executable

with results between

Usage: {AppName} {CommandPath} {AppName} {CommandPath} [commands]

and

Usage: {AppName} {CommandPath} [options] [arguments] {AppName} {CommandPath} [options] [commands]

When the command is not executable, results will be like

Usage: {AppName} {CommandPath} [options] [commands]

When no subcommands, results will be like

Usage: {AppName} {CommandPath} [options] [arguments]

drewburlingame commented 4 years ago

closing this for now. i'll leave the branch there for a while