Go to file
2024-07-04 17:58:16 +08:00
templates to apigo.cc 2024-06-26 12:16:21 +08:00
.gitignore first 2024-03-15 22:32:19 +08:00
go.mod fix install logv bug 2024-07-04 17:58:16 +08:00
LICENSE Initial commit 2024-03-14 12:53:10 +08:00
main.go fix install logv bug 2024-07-04 17:58:16 +08:00
README.md fix install logv bug 2024-07-04 17:58:16 +08:00

ag - tools for apigo.cloud

Install

go install apigo.cc/apigo/ag@latest

Usage

tools for apigo.cloud

Usage:
  ag [command] [...]
  ag [short command] [...]

Commands:
  init [i]                            init a new project for empty dir
  init plugin [i p]                   init a new plugin project for empty dir
  run [r]                             will exec `go run .`
  watch run [rr] [...]                run project use gowatch, if project files changed will restart auto, ... args see gowatch help https://github.com/ssgo/tool
  test [t]                            will exec `go test -v .`, will exec into tests if exists tests dir
  watch test [tt] [...]               test project use gowatch, if project files changed will restart auto, ... args see gowatch help https://github.com/ssgo/tool
  tidy [td]                           tidy project, find imported plugins from .js files add import code to jsImports.go, export typescript code for used plugins into "plugins/"
  tags []                             show git tags
  commit [co] comment                 commit git repo and push, comment is need
  tag+ [t+] [version]                 add git tag push, if no new tag specified will use last tag +1

Examples:
  ag +           create a new simple project with Hello World
  ag +p ali      create a new plugin project named ali for use aliyun services