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
This adds support for the `--version` CLI flag. This outputs the version
number for both shx and the bundled version of ShellJS. This adds a test
to strictly assert the output format, so that this can be reliably
parsed if necessary.
This also reorganizes the structure of some test cases (without changing
their logic).
Fixes#111
Test: case: 'supports --version'
This adds support for the `--version` CLI flag. This outputs the version
number for both shx and the bundled version of ShellJS. This adds a test
to strictly assert the output format, so that this can be reliably
parsed if necessary.
This also reorganizes the structure of some test cases (without changing
their logic).
Lastly, this changes the file modes for 2 files. These were previously
unnecessarily executable.
Fixes#111
Test: case: 'supports --version'
It'd be handy to add
--version
to theshx
binary:This is handy when using
shx
globally (which is the easiest way of reproducing bugs).The text was updated successfully, but these errors were encountered: