Skip to content
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

create CLI version of the library #1

Open
Kikobeats opened this issue Oct 17, 2015 · 1 comment
Open

create CLI version of the library #1

Kikobeats opened this issue Oct 17, 2015 · 1 comment

Comments

@Kikobeats
Copy link

Thank you for this code, works fine! But Instead of run the command manually could be better invoke a CLI command for do the process. I can do it at some point in future :)

@Kikobeats
Copy link
Author

Just adding in package.json:

"bin": {
      "bigout": "./bigout.js"
  },

should be works but I don't understand why this happens:

bigout
/usr/local/bin/bigout: line 1: //: is a directory
/usr/local/bin/bigout: line 2: var: command not found
/usr/local/bin/bigout: line 4: syntax error near unexpected token `{'
/usr/local/bin/bigout: line 4: `if (argslen < 5) {'

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

No branches or pull requests

1 participant