Files
saasapi/cmd/saastool/help.go
2026-01-19 14:54:18 +08:00

39 lines
911 B
Go

package main
import (
"fmt"
"strings"
)
// RunHelp 帮助
func RunHelp(args ...string) error {
fmt.Println(strings.TrimSpace(usage))
return nil
}
const usage = `
Usage: saastool COMMAND [OPTIONS]
Commands:
info Saas Info
write Write user's 'bytes / uint32s / flags'
read Read user's 'bytes / uint32s / flags'
columnwrite Write columns for 'deviceid / openid' users
resetds Reset data space
convert Convert data to write format
task Task commands
target Target commands
bind Bind commands
grant Grant commands
script Script commands
exp Exp commands
daemon Run in daemon mode
"help" is the default command.
Use "saastool COMMAND -help" for more information about a command.
`