prow/clonerefs/options.go
func (o *Options) Complete(args []string) {
	o.GitRefs = o.refs.gitRefs
	o.KeyFiles = o.keys.data

	for _, ref := range o.GitRefs {
		alias, err := o.clonePath.Execute(OrgRepo{Org: ref.Org, Repo: ref.Repo})
		if err != nil {
			panic(err)
		}
		ref.PathAlias = alias

		alias, err = o.cloneURI.Execute(OrgRepo{Org: ref.Org, Repo: ref.Repo})
		if err != nil {
			panic(err)
		}
		ref.CloneURI = alias
	}
}
func (o *Options) Complete(args []string) {
	o.GitRefs = o.refs.gitRefs
	o.KeyFiles = o.keys.data

	for _, ref := range o.GitRefs {
		alias, err := o.clonePath.Execute(OrgRepo{Org: ref.Org, Repo: ref.Repo})
		if err != nil {
			panic(err)
		}
		ref.PathAlias = alias

		alias, err = o.cloneURI.Execute(OrgRepo{Org: ref.Org, Repo: ref.Repo})
		if err != nil {
			panic(err)
		}
		ref.CloneURI = alias
	}
}
func ( o * Options ) Complete ( args [ ] string ) { o . GitRefs = o . refs . gitRefs o . KeyFiles = o . keys . data for _ , ref := range o . GitRefs { alias , err := o . clonePath . Execute ( OrgRepo { Org : ref . Org , Repo : ref . Repo } ) if err != nil { panic ( err ) } ref . PathAlias = alias alias , err = o . cloneURI . Execute ( OrgRepo { Org : ref . Org , Repo : ref . Repo } ) if err != nil { panic ( err ) } ref . CloneURI = alias } }
// Complete internalizes command line arguments
Complete internalizes command line arguments