Files
phylum/server/internal/command/fs/cmd.go
T
2025-06-29 18:58:58 +05:30

33 lines
664 B
Go

package fs
import (
"codeberg.org/shroff/phylum/server/internal/command/fs/publink"
"codeberg.org/shroff/phylum/server/internal/command/fs/trash"
"github.com/spf13/cobra"
)
func SetupCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "fs",
Short: "Filesystem",
}
cmd.PersistentFlags().StringP("user-email", "u", "", "User Email")
cmd.AddCommand(
setupCatCommand(),
setupSetfaclCommand(),
setupCopyCommand(),
setupImportCommand(),
setupInfoCommand(),
setupMkdirCommand(),
setupMountCommand(),
setupMoveCommand(),
setupDeleteCommand(),
setupSearchCommand(),
publink.SetupCommand(),
trash.SetupCommand(),
)
return cmd
}