Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/notes
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
const program = require('commander');

const Notes = require('../lib/notes');
const Package = require('../package.json');

program
.version('1.0.0')
.version(Package.version)
.description('Tool to summarise all code annotation like TODO or FIXME')
.option('-s, --source [dir]', 'root directory to be included only for checks (default: current working directory)')
.option('-x, --patterns [dir]', 'Path patterns to exclude (default: include all files and directories)',
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"type": "git",
"url": "git://github.com/ahmadassaf/code-notes.git"
},
"scripts": {
"test":"notes",
"test:clean":"node ./bin/notes . --git-ignore .gitignore"
},
"main": "./lib/notes",
"engines": {
"node": ">= v0.4.7"
Expand Down