Open thirtytwobits opened 5 months ago
Can you recommend alternatives to Click? If not, we could perhaps extract main command options (such as --verbose
, --json
, etc) into a shared decorator and use it with subcommands as well. Or maybe it would be easier to extend Click to make subcommands inherit options from its parent command.
Use argparse and argcomplete. You should separate the concerns of the CLI from the library in a similar way one separates view from view-model in a GUI application.
The Yakut CLI is overly rigid and unintelligent. Example:
Modern CLIs are flexible and smart.
click
is obviously retrograde and should be disused.