2022-03-12 13:04:08 -08:00
|
|
|
/*
|
|
|
|
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
|
|
|
|
|
|
|
|
*/
|
2022-03-12 22:43:32 -08:00
|
|
|
package cli
|
2022-03-12 13:04:08 -08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
// promptCmd represents the prompt command
|
|
|
|
var promptCmd = &cobra.Command{
|
|
|
|
Use: "prompt",
|
2022-03-15 16:32:45 -07:00
|
|
|
Short: "Set up the prompt for your shell",
|
|
|
|
Long: `Set up the prompt for your shell
|
2022-03-12 13:04:08 -08:00
|
|
|
Allows to initialize one of the supported shells, or to set the prompt manually for a custom shell.`,
|
2022-03-19 11:48:37 -07:00
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
|
|
_ = cmd.Help()
|
|
|
|
},
|
2022-03-12 13:04:08 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { // nolint:gochecknoinits
|
|
|
|
rootCmd.AddCommand(promptCmd)
|
|
|
|
}
|