Skip to content

Commit

Permalink
update action docs & link
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Dec 24, 2017
1 parent 759a945 commit 112349a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,12 @@ Type: `Function`

The function to run when the current Command is executed.

Its parameters are based on your [`usage`](#usage) definition.
Its parameters are based (positionally) on your Command's [`usage`](#usage-1) definition.

All options, flags, and extra/unknown values are included as the last parameter.

> **Note:** Optional arguments are also passed as parameters & may be `undefined`!
```js
sade('foo')
.command('cp <src> <dest>')
Expand Down

0 comments on commit 112349a

Please sign in to comment.