Files
saasapi/cmd/saastool/help.go
2025-04-02 19:34:36 +08:00

33 lines
673 B
Go

package main
import (
"fmt"
"strings"
)
// RunHelp 帮助
func RunHelp(args ...string) error {
fmt.Println(strings.TrimSpace(usage))
return nil
}
const usage = `
Usage: [[command] [arguments]]
The commands are:
write Write user's 'bytes / uint32s / flags'
read Read user's 'bytes / uint32s / flags'
columnwrite Write columns for 'deviceid / openid' users
tasklist List tasks
taskcancel Cancel task
taskdetail Show task detail
"help" is the default command.
Use "saastool [command] -help" for more information about a command.
`
// strip Stripping redundant data from redis