Skip to content

Commit

Permalink
fix(cli): Prevent adding an additional argument
Browse files Browse the repository at this point in the history
This commit actually is not the fix, the previous one was.
  • Loading branch information
Kent C. Dodds committed Apr 26, 2016
1 parent 2e41bd0 commit 4da43ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ You can pass additional arguments to the script(s) that are being spawned:
npm start lint --fix # --fix will be passed on to the lint script
```

#### scripts

If you don't use `-p` (because you don't need parallelism) then you can simply provide the name of the script like so:

```console
npm start cover
```

That's all for the CLI.

### package-scripts.js
Expand Down
1 change: 1 addition & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Add something like `p-s help` that will log out how to use the cli and available scripts to run in the project
- Add improved prefixing. Right now you can prefix the entire name of a script, but you couldn't prefix something like
`test.watch` as `t.w` and I think that'd be sweet
- Add the ability to specify multiple scripts that run in series

## Might do

Expand Down

0 comments on commit 4da43ca

Please sign in to comment.