30 lines
1021 B
Markdown
30 lines
1021 B
Markdown
# ag - tools for apigo.cloud
|
|
|
|
## Install
|
|
|
|
```shell
|
|
go install apigo.cloud/git/apigo/ag@latest
|
|
```
|
|
|
|
## Usage
|
|
|
|
```
|
|
tools for apigo.cloud
|
|
|
|
Usage:
|
|
ag [command] [...]
|
|
ag [short command] [...]
|
|
|
|
Commands:
|
|
new [+] [name] create a new project, will create in the current directory if no name is specified
|
|
new plugin [+p] [name] create a new plugin project, will create in the current directory if no name is specified
|
|
run [r] [...more gowatch args] run project use gowatch, if project files changed will restart auto, gowatch args help see: https://github.com/ssgo/tool
|
|
test [t] [...more gowatch args] test project use gowatch, if project files changed will restart auto, gowatch args help see: https://github.com/ssgo/tool
|
|
export plugins [ep] export typescript code for used plugins into "plugins/"
|
|
|
|
Examples:
|
|
ag + create a new simple project with Hello World
|
|
ag +p ali create a new plugin project named ali for use aliyun services
|
|
```
|
|
|