clii
clii copied to clipboard
default command.
I find my most common use case (previously with click) was to add cli options to a single-command script. Is it possible to make clii run a default command (or the only existing command)? That way you don't have to type "python main.py main --args" to run your main function.
Does the main
decorator not do the trick for you?
Oh, I didn't know about that one, thanks!