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
* Pass all ARGV arguments verbatim to subcommand
Avoid altering original `ARGV` when combining it with possible
`SHARDS_OPTS` variable and pass them verbatim to the subcommand.
Introduce a naive integration test for subcommand to validate the change
works correctly.
* Fixes passing --help to subcommand
Avoid OptionParser to short-circuit `--help` and return immediately by
setting a flag for it and evaluating at the end of the processing of
unknown options.
This is only done for the CLI invocation and is not part of Shards
module (as the help and usage options are only available in this
context).
* Only use dummy executable on Windows
Follow the pattern used in other tests and use simple `sh` script on
non-Windows platforms.
* Avoid usage of class properties to handle help behavior
Revert the usage of class property introduced in
5a6dc6c and leverage instead on a pure
instance variable in the context of `Shards.run`.
0 commit comments