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

Function templateFlagChanged

cmd/create.go:111–113  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

109}
110
111func templateFlagChanged(cmd *cobra.Command) bool {
112 return cmd.Flags().Changed("template") || cmd.Flags().Changed("snapshot")
113}
114
115// resolveTemplateAlias reconciles --template and --snapshot. They're aliases,
116// so using both with different values is an error; using only --snapshot copies

Callers 2

buildCreatePresetsFunction · 0.85
missingCreateFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected