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
I would expect --db to become a shared option across the cmd1 and cmd2 subcommands. It seems that’s not the way cliffy handles this currently.
Instead, passing --db before the command name aborts with Unknown command: cmd1, passing it after yields Unknown option: --db.
The text was updated successfully, but these errors were encountered:
At the moment shared options are not supported and in this setup --db would only be an option for the main command and not for the child commands. So you have to define the --db option for both child commands separately.
But shared options are on my list and i will implement this soon.
Given the following configuration:
I would expect
--db
to become a shared option across the cmd1 and cmd2 subcommands. It seems that’s not the way cliffy handles this currently.Instead, passing
--db
before the command name aborts withUnknown command: cmd1
, passing it after yieldsUnknown option: --db
.The text was updated successfully, but these errors were encountered: