// Validate returns an error if the flag values passed by the user are invalid.
Validate returns an error if the flag values passed by the user are invalid.
// Validate returns an error if the flag values passed by the user are invalid .
func (o *initPipelineOpts) Validate() error {
	if o.appName == "" {
		return errNoAppInWorkspace
	}
	return nil
}
func ( o * initPipelineOpts ) Validate ( ) error { if o . appName == " " { return errNoAppInWorkspace } return nil }
Validate returns an error if the flag values passed by the user are invalid.
Validate returns an error if the flag values passed by the user are invalid .
// TODO add validation for flags