(opts *projectConvert.ConvertOptions)
| 44 | } |
| 45 | |
| 46 | func convertProjectCallback(opts *projectConvert.ConvertOptions) (cmd.Dependable, error) { |
| 47 | flags := opts.ConvertFlags |
| 48 | deps := cmd.NewDependenciesFromExisting(opts.Dependencies, "octopus project convert") |
| 49 | convertOpts := projectConvert.NewConvertOptions(flags, deps) |
| 50 | return projectConvert.PromptForConfigAsCode(convertOpts) |
| 51 | } |
| 52 | |
| 53 | func (co *CreateOptions) Commit() error { |
| 54 | lifecycle, err := co.Client.Lifecycles.GetByIDOrName(co.Lifecycle.Value) |
no test coverage detected