gwm-cli

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2017 License: MIT Imports: 14 Imported by: 0

README

## How to use

### Build
```shell
go get -t -d -v ./...
go build
```

### Debug Build
In debug build, you can see the access log.
```shell
go build -tags debug
```

### Copy configuration and sample Command
```shell
cp example/config.yml .
cp example/command.json .
```
#### Use configuration under custom location
By default, cli finds configuration located under same folder of it.
If configuration file is needed to be in different folder, you can
specify the path with environment variable `GWM_CONFIG_PATH` before execute
cli commands.

```shell
cp example/config.yml path-to-config-file
export GWM_CONFIG_PATH=path-to-config-file
```

### Run
./gwm-cli --help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL