mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-21 19:49:31 -06:00
26 lines
402 B
Go
26 lines
402 B
Go
package trash
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func SetupCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
GroupID: "app",
|
|
Use: "trash",
|
|
Short: "Trash",
|
|
}
|
|
flags := cmd.PersistentFlags()
|
|
flags.StringP("user", "u", "", "User")
|
|
|
|
cmd.AddCommand(
|
|
setupDeleteCommand(),
|
|
setupEmptyCommand(),
|
|
setupListCommand(),
|
|
setupRestoreCommand(),
|
|
setupSummaryCommand(),
|
|
)
|
|
|
|
return cmd
|
|
}
|