增加命令功能

This commit is contained in:
2025-04-07 10:42:08 +08:00
parent 0344c09ce7
commit 74b0033e45
18 changed files with 1844 additions and 494 deletions

View File

@@ -12,21 +12,19 @@ func RunHelp(args ...string) error {
}
const usage = `
Usage: [[command] [arguments]]
The commands are:
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
columnwrite Write columns for 'deviceid / openid' users
tasklist List tasks
taskcancel Cancel task
taskdetail Show task detail
convert Convert data to write format
makehash Make file hash for upload task
task Task commands
"help" is the default command.
Use "saastool [command] -help" for more information about a command.
Use "saastool COMMAND -help" for more information about a command.
`
// strip Stripping redundant data from redis