Files
saasapi/cmd/saastool/help.go
2025-09-24 18:38:03 +08:00

36 lines
797 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
convert Convert data to write format
task Task commands
target Target commands
bind Bind commands
script Script commands
daemon Run in daemon mode
"help" is the default command.
Use "saastool COMMAND -help" for more information about a command.
`