Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BashCmd = &cobra.Command{
Use: "bash",
Short: "Output shell setup for bash",
Long: `Output shell setup for bash`,
RunE: runCmd,
}
initCmd represents the init command
View Source
var DashCmd = &cobra.Command{
Use: "dash",
Short: "Output shell setup for dash",
Long: `Output shell setup for dash`,
RunE: runCmd,
}
View Source
var ZshCmd = &cobra.Command{ Use: "zsh", Short: "Output shell setup for zsh", Long: `Output shell setup for zsh`, RunE: func(cmd *cobra.Command, args []string) error { content, err := zshSetupScript.ReadFile(zshSetupScriptName) if err != nil { return err } fmt.Println(string(content)) return nil }, }
initCmd represents the init command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.