git-project-manager/cmd/project_add.go
2023-12-09 23:19:19 -05:00

22 lines
367 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
var projectAddCmd = &cobra.Command{
Use: "add",
Short: "Add a new GitLab project",
Aliases: []string{"a", "alias"},
Long: projAddCmdLong,
Run: projectAddCmdRun,
}
func projectAddCmdRun(cmd *cobra.Command, args []string) {
getProject(args)
}
func init() {
projectCmd.AddCommand(projectAddCmd)
}