2024-03-15 22:32:19 +08:00
|
|
|
# ag - tools for apigo.cloud
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```shell
|
|
|
|
go install github.com/apigo/ag
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
tools for apigo.cloud
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
ag [command] [...]
|
|
|
|
ag [short command] [...]
|
|
|
|
|
|
|
|
Commands:
|
|
|
|
init [i] create a new project with "go mod init"、"go mod tidy" etc.
|
|
|
|
initPlugin [ip] name create a new plugin project with "go mod init"、"go mod tidy" etc.
|
|
|
|
initServer [is] name create a new server project with "go mod init"、"go mod tidy" etc.
|
|
|
|
pluginsCode [pc] export typescript code for used plugins into "plugins/"
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
ag i init a new simple project with Hello World
|
|
|
|
ag ip ali init a new plugin project named ali for use aliyun services
|
|
|
|
```
|
2024-03-14 12:53:10 +08:00
|
|
|
|