Documentation
¶
Overview ¶
Package cli wires flate's command-line interface using cobra.
Every multi-kind command takes the same ks/hr/all positional layout:
- get ks|hr|images|all — list Flux objects, images, or cluster summary.
- build ks|hr|all — render Flux objects to YAML.
- diff ks|hr|images|all — compare current vs. another path.
- test ks|hr|all — report reconcile status.
Use New() to obtain a cobra.Command for embedding flate in a parent CLI; Execute() and Run() are the entry points used by cmd/flate and by in-process E2E tests respectively.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute runs the root command against os.Args and returns the suggested process exit code. version is the build identifier surfaced via --version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.