in mpdev/cmd/applycmd.go [25:40]
func GetApplyCommand() *cobra.Command {
var c command
cmd := &cobra.Command{
Use: "apply -f FILENAME [--dryrun]",
Short: docs.ApplyShort,
Long: docs.ApplyLong,
Example: docs.ApplyExamples,
RunE: c.applyRunE,
}
cmd.Flags().BoolVar(&c.DryRun, "dryrun", c.DryRun, "if set, validates configuration files without creating resource")
cmd.Flags().StringSliceVarP(&c.Filenames, "filename", "f", c.Filenames, "that contains the configuration to apply")
_ = cobra.MarkFlagRequired(cmd.Flags(), "filename")
return cmd
}