Config File
The complete shape of the file is:
Path resolution
~ is expanded only at the beginning of a directory path. Both ~/projects/app and absolute paths are valid. Paths such as ~other-user/app are rejected.
Validation
Configuration is validated before a command uses it:
- Profile names and aliases must not be empty.
- Profiles require both
kube_contextandtailscale_account. - Profile kube contexts cannot contain whitespace or start with
-. - Kubernetes namespaces must use lowercase DNS-label syntax.
- Resources must use
kind/name, such assvc/my-appordeployment/api. - Port mappings must use
local:remotewith ports from1through65535. - Duplicate profile targets are rejected.
- Files larger than 1 MiB are rejected.
Use the starter file as a safe baseline:
eggl-cli refuses to overwrite an existing file.