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

@@ -1,9 +1,9 @@
package version
import (
"cloudsave/cmd/cli/tools/prompt/credentials"
"cloudsave/pkg/constants"
"cloudsave/pkg/remote/client"
"cloudsave/cmd/cli/tools/prompt/credentials"
"context"
"flag"
"fmt"
@@ -23,8 +23,11 @@ type (
func (*VersionCmd) Name() string { return "version" }
func (*VersionCmd) Synopsis() string { return "show version and system information" }
func (*VersionCmd) Usage() string {
return `add:
Show version and system information
return `Usage: cloudsave version [-a]
Print the version of the software
Options:
`
}