working commit

This commit is contained in:
2026-06-09 14:10:53 +02:00
parent ee30858d11
commit 6e92720e69
26 changed files with 339 additions and 165 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ func (util *Util) Build() error {
rootCmd.CompletionOptions.DisableDefaultCmd = true
var dumpDatabaseCmd = &cobra.Command{
Use: "dump [filename|-]",
Use: "dump filename|-",
Short: "Dump application database",
Args: cobra.ExactArgs(1),
Run: util.DumpDatabase,
@@ -43,7 +43,7 @@ func (util *Util) Build() error {
rootCmd.AddCommand(dumpDatabaseCmd)
var restoreDatabaseCmd = &cobra.Command{
Use: "restore [] [filename|-]",
Use: "restore filename|-",
Short: "Restore application database",
Args: cobra.ExactArgs(1),
Run: util.RestoreDatabase,