You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2022. It is now read-only.
This library is amazing! (I was looking for a way to quickly make CLIs with interactive + non-interactive mode without repeating logic and this was exactly what I was looking for :) ).
First and foremost:
Given something like this:
I'd like to provide a default subcommand to call when no arguments are passed, so I could call that command like:
> cli tokenAnd behind the scenes
token.provider_b()would be called, for example.This is because doing something like
cli token --provider=bis kinda verbose (at least for my use case).Does this make sense? Or I'm trying to use subcommands for something that they are not intended for?