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

Function newDeleteProgressModel

tui/delete.go:299–307  ·  view source on GitHub ↗
(client *api.Client, instanceID, message string)

Source from the content-addressed store, hash-verified

297}
298
299func newDeleteProgressModel(client *api.Client, instanceID, message string) deleteProgressModel {
300 s := NewPrimarySpinner()
301 return deleteProgressModel{
302 spinner: s,
303 message: message,
304 client: client,
305 instanceID: instanceID,
306 }
307}
308
309func (m deleteProgressModel) Init() tea.Cmd {
310 return tea.Batch(m.spinner.Tick, deleteInstanceCmd(m.client, m.instanceID))

Callers 1

RunDeleteProgressFunction · 0.85

Calls 1

NewPrimarySpinnerFunction · 0.85

Tested by

no test coverage detected