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

added commander.js for help and version number #7

Closed
wants to merge 5 commits into from
Closed

added commander.js for help and version number #7

wants to merge 5 commits into from

Conversation

YusufMohamed
Copy link
Collaborator

i'm facing some problems with coffeescript as i can't get the cli to work like vispack install plugin for 2 reasons:

  • i can't make shebangs #!/usr/bin/env node in top of vispack.coffee as the there is // compiled with coffeescript commend in first line
  • when i try npm install -g to install the vispack package globally. node can't find the .js files to link as it only finds the coffeescript files. we need something like preinstall script.
    this also should resolve There is no cli usage or version sections #6 .

@samehkamaleldin
Copy link
Collaborator

you should grunt build the js file from coffee file, and fix the executable js file location from package.json file.

@samehkamaleldin
Copy link
Collaborator

I think this StackOverflow Answer solves your problem.

@YusufMohamed
Copy link
Collaborator Author

Done and waiting for pull request acceptance to push another one.

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.

There is no cli usage or version sections
2 participants