machinepack
v3.4.4
Published
CLI tool for working with machinepacks and their machines.
Downloads
22
Readme
Docs Browse other machines FAQ Newsgroup
Command-line tool for working with machinepacks and machines.
Installation
$ npm install -g machinepack
Usage
Note that you'll also want to grab the Yeoman generator
You should check out http://node-machine.org/implementing for an in-depth tutorial, but here are a few highlights:
# open generated manpage on node-machine.org in your browser of choice
mp browse
# run a machine
# (theres an interactive prompt- you'll get to choose from a list, then be prompted to provide values for required inputs)
# (supports json entry and validation, re-running using command-line flags, and protects inputs marked as "protected" so they don't show up in your bash history)
mp exec
# clean everything up: (re)scaffold JSON test files, (re)generate readme using latest metadata, make sure repo url is in package.json, etc.
mp scrub
# list machines (useful for remembering wtf you're doing)
mp ls
# add new machine w/ identity="do-some-stuff" and start interactive prompt to get the rest of the necessary info
mp add do-some-stuff
# copy machine (useful for quickly creating similar machines)
mp cp foo bar
# rename machine (useful for fixing misspellings)
mp mv initiate-denk-party initiate-dance-party
About ![Gitter](https://badges.gitter.im/Join Chat.svg)
This CLI tool is just sugar on top of the machine specification. That said, it helps a lot, and if you're building a pack, I highly recommend checking it out.
License
MIT © 2015 Mike McNeil