apply

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:  "apply",
	Args: cobra.NoArgs,
	RunE: func(cmd *cobra.Command, args []string) error {
		var input []byte
		var err error
		if flagActionFilePath == stdinFilePath {
			input, err = io.ReadAll(os.Stdin)
		} else {
			input, err = os.ReadFile(path.Clean(flagActionFilePath))
		}
		if err != nil {
			return err
		}

		return apply(cmd.Context(), input, flagNoPrettyUI)
	},
	SilenceUsage: true,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL