https://github.com/rumkin/helicopter-cli
Helicopter cli tool
https://github.com/rumkin/helicopter-cli
Last synced: about 1 year ago
JSON representation
Helicopter cli tool
- Host: GitHub
- URL: https://github.com/rumkin/helicopter-cli
- Owner: rumkin
- Created: 2015-11-28T11:46:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T06:01:51.000Z (over 10 years ago)
- Last Synced: 2025-01-30T03:26:22.193Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Helicopter cli
---
Helicopter cli tool is a very simple util which load `helicopter.js` binary file
from current directory with lookup like node does and requires it. It search
installed `helicopter` inside node_modules folders.
It has no dependencies, extra lightweight and written in pure shell script.
## Install
```
npm install -g helicopter-cli
```
## Usage
Helicopter script pass all arguments to helicopter executable and redirect stdin.
```
helicopter [OPTIONS]
```
## Commands
Helicopter cli tool has two own commands `init` and `create` which helps to
build projects from template.
```
init [DIR]
create [DIR]
```
If command not exists in helicopter cli tool it will be searched in the nearest
installed `helicopter` package
### Init
Init command creates new project from basic helicopter template. It has one
optional parameter `DIR` which specifies directory of newly created project.
### Create
Create command download template from github or npm to specified directory or $PWD.
```shell
helicopter create helicopterjs/basic # Install template from github.com
helicopter create helicopter-basic # Install template from npm
```
## Example
Run server
```shell
helicopter up 8080
```