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
|
|
|
|
Copyright (c) 2013-2016 The Hybrid Group. Licensed under the Apache 2.0 license.
|