mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(cloudcmd) add bin
This commit is contained in:
parent
5e145d496f
commit
5a99006391
3 changed files with 17 additions and 2 deletions
|
|
@ -114,6 +114,8 @@ getJSONfromFileTable.
|
|||
|
||||
* feature(update) exec -> exec(cwd)
|
||||
|
||||
* feature(cloudcmd) add bin
|
||||
|
||||
|
||||
2012.04.22, v0.2.0
|
||||
|
||||
|
|
|
|||
|
|
@ -104,11 +104,12 @@ and unpack or just clone repository from github:
|
|||
```
|
||||
git clone git://github.com/coderaiser/cloudcmd.git
|
||||
cd cloudcmd
|
||||
node cloudcmd
|
||||
```
|
||||
or install in npm:
|
||||
```
|
||||
npm i cloudcmd
|
||||
mv node_modules/cloudcmd ./
|
||||
npm i cloudcmd -g
|
||||
cloudcmd
|
||||
```
|
||||
|
||||
Configuration
|
||||
|
|
|
|||
12
bin/cloudcmd
Executable file
12
bin/cloudcmd
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
/* cloudcmd binary
|
||||
* usage: node cloudcmd
|
||||
*/
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
require('../cloudcmd');
|
||||
|
||||
})();
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue