func init()

in cli/rapctl/cmd/rollout.go [67:83]


func init() {
	rootCmd.AddCommand(rolloutCmd)

	// Here you will define your flags and configuration settings.

	// Cobra supports Persistent Flags which will work for this command
	// and all subcommands, e.g.:
	// rolloutCmd.PersistentFlags().String("foo", "", "A help for foo")
	rolloutCmd.PersistentFlags().String("app", "", "Name of app to rollout")
	rolloutCmd.PersistentFlags().String("strategy", "", "Type of rollout strategy")

	rolloutCmd.MarkFlagRequired("app") // not working yet

	// Cobra supports local flags which will only run when this command
	// is called directly, e.g.:
	// rolloutCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}