mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-04 11:19:55 -05:00
[server][core] Maintain separate trash table
This commit is contained in:
@@ -35,7 +35,11 @@ func setupDeleteCommand() *cobra.Command {
|
||||
}
|
||||
}
|
||||
|
||||
r.DeleteRecursive(false)
|
||||
if _, err := r.DeleteRecursive(false); err != nil {
|
||||
fmt.Println("cannot remove '" + id.String() + "': " + err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ func setupListCommand() *cobra.Command {
|
||||
}
|
||||
},
|
||||
}
|
||||
cmd.Flags().IntP("num", "n", 5, "How many items to show")
|
||||
cmd.Flags().UintP("num", "n", 5, "How many items to show")
|
||||
cmd.Flags().StringP("cursor", "c", "", "Pagination Cursor")
|
||||
return &cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user