This way if I run $> grunt sshexec:ls --config staging will be different from $> grunt sshexec:ls --config production. This is useful if you have some similar commands that only differ from the path and not the action.
If it's not possible, which is the work around?
I wonder if there is a way i can inject the attributes of the current config to use them in the command:
This way if I run
$> grunt sshexec:ls --config staging
will be different from$> grunt sshexec:ls --config production
. This is useful if you have some similar commands that only differ from the path and not the action. If it's not possible, which is the work around?