Skip to content

Commit 980a506

Browse files
author
wenli.lw
committed
update
1 parent 8496487 commit 980a506

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ $ fire ./test.js arg1 arg2
1515

1616
## Examples
1717

18-
```test.js
18+
```
19+
//test.js
1920
module.exports = function(arg1, arg2, opts) {
2021
console.log(arg1, Array.isArray(arg1));
2122
console.log(arg2);
@@ -38,7 +39,8 @@ done
3839
```
3940

4041
One more:
41-
```calc.js
42+
```
43+
//calc.js
4244
exports.add = function(a, b, opts) {
4345
return a + b;
4446
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-fire",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "A library for automatically generating command line CLIs from any nodejs project.",
55
"bin": {
66
"fire": "./bin/index.js"

0 commit comments

Comments
 (0)