misc

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SHELL_BASH  = "bash"
	SHELL_ZSH   = "zsh"
	SHELL_FISH  = "fish"
	SHELL_POWER = "powershell"
)

Variables

View Source
var KubectlEnvCmd = &cobra.Command{
	Use:     "kubectl-env",
	Aliases: []string{"env", "ke"},
	Args:    cobra.NoArgs,
	Short:   "Generate a script that points the KUBECONFIG env var to the kubeconfig for the current kw session",
	Long: `Generate a script that points the KUBECONFIG env var to the kubeconfig for the current kw session.

The script can be called manually or added to your shell's profile to automatically set the KUBECONFIG env var when you start a new shell.`,
}

KubectlEnvCmd represents the kubectl-env command

View Source
var PromptCmd = &cobra.Command{
	Use:   "prompt",
	Args:  cobra.NoArgs,
	Short: "Generate a script that generates a prompt to display in the shell",
	Long: `Generate a script that generates a prompt to display in the shell.

The script can be called manually or added to your shell's profile.`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL