eggl env

Switch a Kubernetes context and Tailscale account as one named environment.

eggl env init
eggl env show
eggl env use homelab
eggl env toggle

Subcommands

CommandDescription
initCreate an example config file if one does not exist
showShow active profile and current state
use <profile>Apply a named profile
toggleFlip between exactly two profiles
pathPrint the resolved config path

Flags

env has a persistent --config <path> flag. It applies to all subcommands and overrides the default config path.

toggle requires exactly two profiles. use is the explicit option when there are more than two profiles or when the current state is not recognized.