GoCommando icon indicating copy to clipboard operation
GoCommando copied to clipboard

One-command commando

Open mookid8000 opened this issue 10 years ago • 0 comments

When a cli app has only one command, it should be possible to make it default like this:

  • just implement ICommand
  • Go.Run<YourImplementationOfICommand>();

which allows for

  • no need to decorate with [Command("whatever")]
  • no need to specify command when calling the app

mookid8000 avatar Oct 13 '15 15:10 mookid8000