@helios-chain-labs/helios-cli
Version:
simple CLI for helios node
102 lines (71 loc) • 1.76 kB
Markdown
<h1 align="center">Helios - CLI</h1>
<p align="center">
<img src="./img/logo-helios-cli.png" width="120px" height="120px"/>
<br>
<i>Helios CLI is a command line for building windows, linux and macos Nodes
<br>
</p>
<p align="center">
<a href="https://npmjs.org/package/@heliosfoundation/helios-cli">
<img src="https://img.shields.io/npm/v/@heliosfoundation/helios-cli.svg?style=flat-square">
</a>
<a href="https://tldrlegal.com/license/mit-license">
</a>
</p>
## Installation
````shell
npm install -g @helios-chain-labs/helios-cli
````
## Usage
````shell
helios [command] [options]
helios --help
````
````shell
helios install
````
#### `[command]`
- `helios install` - install NodeManager
- `helios start` - start NodeManager
- `helios stop` - stop NodeManager
- `helios reset` - reset NodeManager
- `helios update` - install, stop, restart if new version was downloaded
#### `--help|-h`
Show help
### Examples
#### `helios install`
Use for create sample application :
````shell
$ helios install
✔ Successfully installed NodeManager.
````
#### `helios start`
Use for start NodeManager :
````shell
$ helios start
✔ NodeManager started successfully you can access it at http://0.0.0.0:8080
````
Go to http://localhost:8080
<img src="./img/startup.png"/>
#### `helios stop`
Use for stop NodeManager :
````shell
$ helios stop
✔ NodeManager stopped successfully
````
#### `helios update`
Use for update NodeManager :
````shell
$ helios update
✔ Installation Successfully finished.
✔ NodeManager stopped successfully
✔ NodeManager started successfully
✔ Update Successfully finished.
````
#### `helios reset`
Use for reset NodeManager :
````shell
$ helios reset
✔ NodeManager reset successfully
````
## License