Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevoree/kevoree-js-cli
:warning: MOVED TO https://github.com/kevoree/kevoree-js
https://github.com/kevoree/kevoree-js-cli
Last synced: about 2 months ago
JSON representation
:warning: MOVED TO https://github.com/kevoree/kevoree-js
- Host: GitHub
- URL: https://github.com/kevoree/kevoree-js-cli
- Owner: kevoree
- License: lgpl-3.0
- Created: 2015-03-26T16:00:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-29T14:11:38.000Z (over 7 years ago)
- Last Synced: 2024-11-18T17:16:30.238Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Kevoree Javascript command-line client
[![NPM](https://nodei.co/npm/kevoree-cli.png)](https://nodei.co/npm/kevoree-cli/)### Install
Prefer a global install for this module as it is intended to be used as a client tool:
```sh
npm i -g kevoree-cli
```### Usage
Usage documentation is available by using the `-h` flag (or nothing):
```sh
kevoree -h
```
Outputs:
```
$ kevoreeUsage: kevoree [options] [command]
Commands:
clean Delete installed modules out of the cache folder
init Initialize Kevoree's config file
login Save your Kevoree registry credentials
start Start a Kevoree Javascript runtime
config Prints the current Kevoree config file
help [cmd] display help for [cmd]Options:
-h, --help output usage information
-V, --version output the version number
```> To get more details about a command: `$ kevoree help `
### Start a runtime
Now we can start a new **Kevoree** JavaScript runtime from the command-line by using:
```sh
kevoree start
```> This command will start a runtime based on a default model if none given (with `-m /path/to/model.{json,kevs}`)
> ```
> // default model
> add node0: JavascriptNode
> add sync: WSGroup
>
> attach node0 sync
>
> set sync.port/node0 = '9000'
> ```
> This behavior will result in a port conflict if you try to run several *"default"* runtime on the same machine.