dm-shell
A helper for interacting with the shell in nodejs.
Last updated 5 years ago by divramod .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dm-shell 
SYNC missed versions from official npm registry.

dm-shell

A helper for interacting with the shell in nodejs.

contribute

# install dm-shell globally
npm install -g dm-shell

# fork dm-shell.git: https://github.com/divramod/dm-shell

# clone your fork
git clone git@github.com:your_github_username/dm-shell.git

# cd into repository
cd dm-shell

# npm install
npm install

# link the global dm-shell installation to the local repository you cd'ed into
dm-shell local

# create synchronous task with tests
# dm-shell taskAdd [sync [taskName]]
# this creates a folder tasks/your_task_name with a file index.js and a folder test/test.js
dm-shell taskAdd sync your_task_name

# or
# create asynchronous tasks with test (wrapped in co)
# dm-shell taskAdd [asyn [taskName]]
# this creates a folder tasks/your_task_name with a file index.js and a folder test/test.js
dm-shell taskAdd async your_task_name

# run tests
dm-shell test your_task_name

# edit tasks/your_task_name/index.js

# edit tasks/your_task_name/test/test.js

# create a pull request: https://help.github.com/articles/creating-a-pull-request/

# if you are done uninstall dm-shell globally: https://docs.npmjs.com/getting-started/uninstalling-global-packages
npm uninstall -g dm-shell

Current Tags

  • 0.1.4                                ...           latest (5 years ago)

9 Versions

  • 0.1.4                                ...           5 years ago
  • 0.1.1-7                                ...           5 years ago
  • 0.1.1-5                                ...           5 years ago
  • 0.1.1-4                                ...           5 years ago
  • 0.1.1-3                                ...           5 years ago
  • 0.1.1-2                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |