Skip to content

Conversation

@nono
Copy link
Contributor

@nono nono commented Oct 24, 2018

The CLI can be used like this:

$ nsfw path/to/watch

It should help for testing nsfw and reporting issues.

Related issue: #19

@nono nono force-pushed the add-cli branch 2 times, most recently from f85def7 to b4fdcfb Compare October 24, 2018 15:05
The CLI can be used like this:

    $ nsfw path/to/watch

It should help for testing nsfw and reporting issues.
package.json Outdated
"bugs": {
"url": "https://github.com/axosoft/node-simple-file-watcher/issues"
},
"bin": "nsfw.js",
Copy link
Contributor

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

},
"bin": "lib/src/bin/nsfw.js",
"files": [
"nsfw.js",
Copy link
Contributor

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.

@implausible
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants