git-project-manager/cmd/alias.go

19 lines
314 B
Go
Raw Normal View History

2023-12-04 21:53:01 +00:00
package cmd
import (
"github.com/spf13/cobra"
)
var aliasCmd = &cobra.Command{
Use: "alias",
2023-12-08 21:52:26 +00:00
Short: "Manage project aliases",
Long: aliasCmdLong,
// Just re-use the hooks for project
PersistentPreRun: initProjectCmd,
PersistentPostRun: postProjectCmd,
2023-12-04 21:53:01 +00:00
}
func init() {
rootCmd.AddCommand(aliasCmd)
}