42 lines
823 B
Markdown
42 lines
823 B
Markdown
|
# Gobot CLI
|
||
|
|
||
|
Gobot has its own CLI to generate new platforms, adaptors, and drivers.
|
||
|
|
||
|
## Building the CLI
|
||
|
|
||
|
```
|
||
|
go build -o /path/to/dest/gobot .
|
||
|
```
|
||
|
|
||
|
## Running the CLI
|
||
|
|
||
|
```
|
||
|
/path/to/dest/gobot help
|
||
|
```
|
||
|
|
||
|
Should display help for the Gobot CLI:
|
||
|
|
||
|
```
|
||
|
CLI tool for generating new Gobot projects.
|
||
|
|
||
|
NAME:
|
||
|
gobot - Command Line Utility for generating new Gobot adaptors, drivers, and platforms
|
||
|
|
||
|
USAGE:
|
||
|
gobot [global options] command [command options] [arguments...]
|
||
|
|
||
|
VERSION:
|
||
|
0.12.1
|
||
|
|
||
|
COMMANDS:
|
||
|
generate Generate new Gobot adaptors, drivers, and platforms
|
||
|
help, h Shows a list of commands or help for one command
|
||
|
|
||
|
GLOBAL OPTIONS:
|
||
|
--help, -h show help
|
||
|
--version, -v print the version
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
Copyright (c) 2013-2016 The Hybrid Group. Licensed under the Apache 2.0 license.
|