I'd like to have the ability to run the subcommands with a custom directory as
the context.
# This should report the active config for the toggl-cli directory
toggl -C ~/dev/watercooler-labs/toggl-cli config --active
# This should start a time entry, using the defaults for podcst-web directory
toggl -C ~/dev/shantanuraj/podcst-web start
Describe the issue
I'd like to have the ability to run the subcommands with a custom directory as the
context
.Affected commands
Suggestion
Add a global
-C
flag similar to git and tarAllow switching "present directory" while executing the program.
Fail command if provided argument is not a directory or not accessible.