Files
saasapi/cmd/saastool/help.go
2025-08-09 15:54:57 +08:00

32 lines
682 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:
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
"help" is the default command.
Use "saastool COMMAND -help" for more information about a command.
`