实验报表授权、GEO支持

This commit is contained in:
algotao
2025-12-13 09:16:21 +08:00
parent cbbeb04ee5
commit 765e75937d
14 changed files with 868 additions and 258 deletions

View File

@@ -17,6 +17,8 @@ func RunExp(args ...string) error {
return RunExpList(args...)
case "get":
return RunExpGet(args...)
case "grant":
return RunExpGrant(args...)
default:
err := fmt.Errorf(`unknown command "%s"`+"\n"+`Run 'saastool exp help' for usage`, name)
fmt.Fprintln(os.Stderr, err)
@@ -31,11 +33,12 @@ func RunExpHelp(args ...string) error {
}
const expUsage = `
Usage: saastoola exp COMMAND [OPTIONS]
Usage: saastool exp COMMAND [OPTIONS]
Commands:
list List exps
get Get exp report
grant Experiment authorization management
"help" is the default command.