oh-my-posh/src/cli/prompt.go

23 lines
505 B
Go
Raw Normal View History

2022-03-12 13:04:08 -08:00
/*
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
*/
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",
Short: "Setup the prompt for your shell",
Long: `Setup the prompt for your shell
Allows to initialize one of the supported shells, or to set the prompt manually for a custom shell.`,
Run: func(cmd *cobra.Command, args []string) {},
}
func init() { // nolint:gochecknoinits
rootCmd.AddCommand(promptCmd)
}