Skip to content

Commit

Permalink
Minor API example tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
klaudiosinani committed Jun 13, 2018
1 parent fd0739a commit fea7062
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Expand Up @@ -542,6 +542,9 @@ signale.success('Successful operation');

signale.success('Successful', 'operation');
//=> ✔ success Successful operation

signale.success('Successful %s', 'operation');
//=> ✔ success Successful operation
```

##### **`errorObj`**
Expand Down Expand Up @@ -569,6 +572,9 @@ Can be an object holding the `prefix`, `message` and `suffix` attributes, with `
```js
const signale = require('signale');

signale.complete({prefix: '[task]', message: 'Fix issue #59', suffix: '(@klauscfhq)'});
//=> [task] ☒ complete Fix issue #59 (@klauscfhq)

signale.complete({prefix: '[task]', message: ['Fix issue #%d', 59], suffix: '(@klauscfhq)'});
//=> [task] ☒ complete Fix issue #59 (@klauscfhq)
```
Expand Down

0 comments on commit fea7062

Please sign in to comment.