RunModifyHybrid runs the modify TUI with some steps pre-filled from CLI flags.
(client *api.Client, instance *api.Instance, specs *utils.SpecStore, presets *ModifyPresets)
| 857 | |
| 858 | // RunModifyHybrid runs the modify TUI with some steps pre-filled from CLI flags. |
| 859 | func RunModifyHybrid(client *api.Client, instance *api.Instance, specs *utils.SpecStore, presets *ModifyPresets) (*ModifyConfig, error) { |
| 860 | m := NewModifyModelWithPresets(client, instance, specs, presets) |
| 861 | return runModifyModel(m) |
| 862 | } |
| 863 | |
| 864 | // RunModifyInstanceSelector shows an interactive instance selector for modify |
| 865 | func RunModifyInstanceSelector(client *api.Client, instances []api.Instance) (*api.Instance, error) { |
no test coverage detected