No warning shows up when an unknown command is passed in
jamesgeorge007 opened this issue · 0 comments
jamesgeorge007 commented
Expected output
happo <junkcmd>
Invalid command a
Usage: happo [options]
Options:
-V, --version output the version number
-c, --config <path> set config path (default: "./.happo.js")
-o, --only <component> limit to one component
-l, --link <url> provide a link back to the commit
-m, --message <message> associate the run with a message (e.g. commit subject)
-a, --author <email> the author of the commit
--debug-port <port> the port where the debug server listens
--debug-port <port> the port where the debug server listens
--dry-run makes the `happo compare` call non-destructive when running with a `compareThreshold` config option
-h, --help output usage information
Commands:
run [sha] execute a full happo run
dev start dev mode
debug start a local server where you can debug happo examples
has-report <sha> check if there is a report for a specific sha
empty <sha> mark a report as empty
compare <sha1> <sha2> compare reports for two different shas
start-job <sha1> <sha2> start a job (used by happo-ci script)