mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-08 20:49:45 -06:00
22 lines
330 B
Go
22 lines
330 B
Go
package publink
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func SetupCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "publink",
|
|
Short: "Publink Management",
|
|
GroupID: "app",
|
|
}
|
|
flags := cmd.PersistentFlags()
|
|
flags.StringP("user", "u", "phylum", "User")
|
|
|
|
cmd.AddCommand(
|
|
setupCreateCommand(),
|
|
)
|
|
|
|
return cmd
|
|
}
|