ag/README.md

30 lines
1014 B
Markdown
Raw Permalink Normal View History

2024-03-15 22:32:19 +08:00
# ag - tools for apigo.cloud
## Install
```shell
2024-06-26 12:16:21 +08:00
go install apigo.cc/apigo/ag@latest
2024-03-15 22:32:19 +08:00
```
## Usage
```
tools for apigo.cloud
Usage:
ag [command] [...]
ag [short command] [...]
Commands:
2024-03-15 22:41:54 +08:00
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/"
2024-03-15 22:32:19 +08:00
Examples:
2024-03-15 22:41:54 +08:00
ag + create a new simple project with Hello World
ag +p ali create a new plugin project named ali for use aliyun services
2024-03-15 22:32:19 +08:00
```
2024-03-14 12:53:10 +08:00