Its own module rather than a package under shared, so cobra and pflag stay out of the module graphs of server, admin and sitesvc, which never use them.
8 lines
166 B
Go
8 lines
166 B
Go
package cmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func newBackupCmd() *cobra.Command {
|
|
return &cobra.Command{Use: "backup", Short: "Write an archive of the database"}
|
|
}
|