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
if it's just a matter of taste that you want the subcommands separated by spaces, then I would suggest following this pattern commonly used in the npm/yarn world:
tasks:
greet:
usage: Say hello to someoneoptions:
name:
usage: A person to say "Hello" todefault: Worldrun: echo "Hello, ${name}!"greet:me:
run:
task:
name: greetoptions: { name: 'me' }greet:you:
run:
task:
name: greetoptions: { name: 'you' }
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I would like to have a feature where I can add a subcommand to a task, like you see with kubectl or gcloud.
So that I can do the following
customctl command subcommand --argument value
Additional context
Just like
kubectl config get-contexts
If there is any other way I can do this, please let me know :-)
The text was updated successfully, but these errors were encountered: