-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a CLI #59
base: master
Are you sure you want to change the base?
Add a CLI #59
Conversation
f85def7
to
b4fdcfb
Compare
package.json
Outdated
@@ -19,7 +19,9 @@ | |||
"bugs": { | |||
"url": "https://github.com/axosoft/node-simple-file-watcher/issues" | |||
}, | |||
"bin": "nsfw.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this bad boy into the src directory with the rest of the code. Perhaps in a new src/bin/ directory.
Then the actual target of "bin" is going to be lib/src/bin/nsfw.js
"files": [ | ||
"nsfw.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line is now irrelevant.
So at work I have access only to a linux machine. Do you think it would be easy to write at least 1 test confirming that the CLI package works on each operating system as expected? |
The CLI can be used like this:
It should help for testing nsfw and reporting issues.
Related issue: #19