func NewApplyCmd()

in cmd/apply.go [13:25]


func NewApplyCmd() *cobra.Command {
	auto := false

	applyCmd := &cobra.Command{
		Use:   "apply",
		Short: "Apply the plan, grept apply [-a] [path to config files]",
		RunE:  applyFunc(&auto),
	}

	applyCmd.Flags().BoolVarP(&auto, "auto", "a", false, "Apply fixes without confirmation")

	return applyCmd
}