2016-10-08 16:40:17 +08:00
|
|
|
# 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...]
|
|
|
|
|
2016-12-19 18:22:41 +08:00
|
|
|
...
|
2016-10-08 16:40:17 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
2017-01-03 05:25:17 +08:00
|
|
|
Copyright (c) 2013-2017 The Hybrid Group. Licensed under the Apache 2.0 license.
|