Created
April 3, 2015 16:56
-
-
Save awatson1978/58181df67a66863f1cf0 to your computer and use it in GitHub Desktop.
Publishing a Command Line Tool in a Package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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