better usage prompt + hash opti on server

This commit is contained in:
2025-08-06 23:09:12 +02:00
parent d479004217
commit 2f777c72ee
10 changed files with 176 additions and 26 deletions

View File

@@ -20,10 +20,17 @@ type (
)
func (*RemoteCmd) Name() string { return "remote" }
func (*RemoteCmd) Synopsis() string { return "manage remote" }
func (*RemoteCmd) Synopsis() string { return "add or update the remote url" }
func (*RemoteCmd) Usage() string {
return `remote:
manage remove
return `Usage: cloudsave remote <-set|-list>
The -list argument lists all remotes for each registered game.
This command performs a connection test.
The -set argument allow you to set (create or update)
the URL to the remote for a game
Options
`
}