MCPcopy
hub / github.com/hasura/graphql-engine / Spin

Method Spin

cli/cli.go:936–944  ·  view source on GitHub ↗

Spin stops any existing spinner and starts a new one with the given message.

(message string)

Source from the content-addressed store, hash-verified

934
935// Spin stops any existing spinner and starts a new one with the given message.
936func (ec *ExecutionContext) Spin(message string) {
937 if ec.IsTerminal {
938 ec.Spinner.Stop()
939 ec.Spinner.Prefix = message
940 ec.Spinner.Start()
941 } else {
942 ec.Logger.Println(message)
943 }
944}
945
946// loadEnvfile loads .env file
947func (ec *ExecutionContext) loadEnvfile() error {

Callers 15

newMetadataApplyCmdFunction · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
ExecuteMethod · 0.80
RunMethod · 0.80
runWithInfoMethod · 0.80
ApplyMethod · 0.80
newPluginsInstallCmdFunction · 0.80
newPluginsUnInstallCmdFunction · 0.80
newMetadataExportCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected