Skip to content

Instantly share code, notes, and snippets.

@awatson1978
Created April 3, 2015 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awatson1978/58181df67a66863f1cf0 to your computer and use it in GitHub Desktop.
Save awatson1978/58181df67a66863f1cf0 to your computer and use it in GitHub Desktop.
Publishing a Command Line Tool in a Package
First you'll need an NPM package.
http://www.bennadel.com/blog/2329-building-executable-scripts-for-the-mac-osx-command-line-with-node-js.htm
Then you'll need to publish it.
https://gist.github.com/coolaj86/1318304
Then you'll need to add it to an atomsphere package.
https://github.com/awatson1978/meteor-cookbook/blob/master/cookbook/packages.md
````sh
meteor create --package mynamespace:mytool
````
And add your package to an application.
````sh
meteor create hello-executable
meteor add mynamespace:mytool
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment