Commit Graph

28 Commits

Author SHA1 Message Date
Michael Bradley, Jr 64027a5ee4 --nobrowser cli option 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr 6e60566b27 add line break between error message and help output 2018-09-14 20:44:22 -05:00
emizzle 6e444aaf65 simplied the valid option check to pure regex 2018-09-15 11:38:48 +10:00
emizzle 269d544ab3 show option usage help with invalid `—node` option and simplied the valid option check to pure regex 2018-09-15 11:36:24 +10:00
Michael Bradley, Jr 203039763d `node` won't ever be falsy owing to `|| 'vm'` 2018-09-14 20:25:22 -05:00
Michael Bradley, Jr f790ecdcbb be more explicit about setting the default option value to 'vm' 2018-09-14 20:15:48 -05:00
Michael Bradley, Jr ac930d0be0 report error and exit if --node option value is not valid 2018-09-14 19:58:23 -05:00
Iuri Matias 3c167b197c
Merge pull request #823 from embark-framework/features/embark-help-addition
`embark test —node` help, plus fix for vm option
2018-09-14 18:13:07 -04:00
emizzle 7658818571 remove custom option validation
Was trying to get a bit too fancy and show an error message if the user didn’t provide a valid value. Instead, if they use `—node` and the value is not a valid option, `vm` will be the default.
2018-09-14 15:23:38 +10:00
Jonathan Rainville 43a9640297 add option to generate the coverage 2018-09-13 14:30:15 -04:00
emizzle 60703b86c5 `embark test —node` help, plus fix for vm option
Add better help info for `embark test —node`.

Fixed issue with `embark test —node vm` where the `vm` was attempted to be parsed as a URL instead of running the simulator.
2018-09-13 20:34:58 +10:00
Jonathan Rainville 4dcaa529f9 move check dependencies to specific commands 2018-09-12 10:57:09 -04:00
Michael Bradley, Jr c662ab362b eject-webpack cmd should report error and exit if run outside DApp 2018-09-11 19:37:06 -05:00
Jonathan Rainville 542462faed check deps before launching 2018-09-07 12:37:18 -04:00
Anthony Laibe caeb0c86b4 Remove testrpc option 2018-09-05 14:12:26 +01:00
Michael Bradley, Jr 4c63c5adef --pipeline option (default: production) for `embark upload` command 2018-08-28 15:44:13 -05:00
Michael Bradley, Jr 4234324640 need to require('path') 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 1e97a6478b prefer path.delimiter 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr e0fda460ba --pipeline option for `embark console`, defaults to 'development' 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 2c54349c33 rev comment re: NODE_PATH 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr ba98f76a10 no separator if proces.env.NODE_PATH is falsy 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr d4f8dd6608 rev comment re: NODE_PATH 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr b7fd109237 setup env vars w/in cmd.js 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 2670476d5e `embark eject-webpack` command 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr b41f5a397d --pipeline option for `ebmark build|run` to spec webpack config name 2018-08-24 15:04:15 -05:00
Jonathan Rainville 3f561f5257 use node option for tests 2018-08-22 16:46:39 -04:00
Iuri Matias 8dcdc7fa38 add help cmd; fix locale 2018-08-21 16:10:22 -04:00
Iuri Matias 33666bd030 rename to cmd 2018-08-21 16:09:13 -04:00