Quickstart
This walkthrough creates two environment profiles, a named port-forward, and a directory alias.
1. Create the starter config
The default path is ~/.config/eggl/config.yaml. Use eggl env path to print the resolved path.
2. Edit the config
Replace the example values with contexts and account references that exist on your machine:
Account references can be an ID, tailnet name, or email shown by tailscale switch --list.
3. Switch environments
The command changes the kubectl context and Tailscale account only when either value differs from the target profile.
For exactly two profiles, toggle switches to the other one:
4. Start a port-forward
The forward uses the active kubectl context and stays attached until you press Ctrl+C.
5. Use a directory alias
eggl cd prints a path so your shell can change directory:
For repeated use, add a wrapper: