Expand description
Interactive deploy target / mode / env resolution.
Makes xbp deploy (and xbp deploy --plan) usable without memorizing
service names — pick from services[], deploy.groups, or all.
Also peels reserved positional mode words (plan, run, verify, …)
so xbp deploy plan is never treated as target=plan.
Structs§
- Deploy
Invocation Options - CLI flag seeds for interactive deploy resolution (TTY can override).
- Peeled
Deploy Args - Result of peeling a reserved mode word from the positional target.
- Resolved
Deploy Invocation
Constants§
- DEPLOY_
MODE_ POSITIONALS - Mode words accepted as a bare positional (instead of
--plan/--run/ …).
Functions§
- apply_
cli_ service_ filters - Apply CLI
--only/--excludefilters. - looks_
like_ local_ kube_ context - True when the active/requested kube context is a local cluster that shares Docker.
- maybe_
confirm_ multi_ service_ apply - Confirm apply for multi-service run when interactive.
- maybe_
edit_ plan_ services - After a multi-service plan is built, optionally let the operator deselect services.
- peel_
deploy_ mode_ positional - Interpret
plan/run/… as modes when used as the positional TARGET. - resolve_
deploy_ invocation - Resolve missing target / mode / env / OCI options via TTY prompts when possible.