MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / RunModifyHybrid

Function RunModifyHybrid

tui/modify.go:859–862  ·  view source on GitHub ↗

RunModifyHybrid runs the modify TUI with some steps pre-filled from CLI flags.

(client *api.Client, instance *api.Instance, specs *utils.SpecStore, presets *ModifyPresets)

Source from the content-addressed store, hash-verified

857
858// RunModifyHybrid runs the modify TUI with some steps pre-filled from CLI flags.
859func 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
865func RunModifyInstanceSelector(client *api.Client, instances []api.Instance) (*api.Instance, error) {

Callers 1

runModifyFunction · 0.92

Calls 2

runModifyModelFunction · 0.85

Tested by

no test coverage detected