working commit

This commit is contained in:
2026-02-14 15:03:47 +02:00
parent 4a779007b5
commit 789119266a
14 changed files with 627 additions and 69 deletions
+3 -3
View File
@@ -73,7 +73,7 @@ func (util *AccountUtil) CreateAccountCmds() *cobra.Command {
// UpdateAccount
var updateAccountCmd = &cobra.Command{
Use: "info",
Short: "Show file information",
Short: "Update account parameters",
Run: util.UpdateAccount,
}
updateAccountCmd.Flags().StringVarP(&util.updateAccountParams.Username, "username", "u", "", "Username")
@@ -93,7 +93,7 @@ func (util *AccountUtil) CreateAccountCmds() *cobra.Command {
// DeleteAccount
var deleteAccountCmd = &cobra.Command{
Use: "delete",
Short: "Delete file in storage",
Short: "Delete account",
Run: util.DeleteAccount,
}
deleteAccountCmd.Flags().StringVarP(&util.deleteAccountParams.Username, "username", "u", "", "Username")
@@ -121,7 +121,7 @@ func (util *AccountUtil) CreateAccountsCmds() *cobra.Command {
// ListAccounts
var listAccountsCmd = &cobra.Command{
Use: "list",
Short: "list user accounts",
Short: "list accounts",
Run: util.ListAccounts,
}
listAccountsCmd.Flags().StringVarP(&util.listAccountsParams.Username, "username", "u", "", "Username")