MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / shellArgv

Function shellArgv

skills/prompt_processor.go:233–256  ·  view source on GitHub ↗
(command, executable string)

Source from the content-addressed store, hash-verified

231
232func shellArgv(command, executable string) []string {
233 return bashpkg.ShellArgv(command, executable)
234}
235
236func pythonFloatString(value float64) string {
237 text := strconv.FormatFloat(value, 'f', -1, 64)
238 if !strings.Contains(text, ".") && !strings.ContainsAny(text, "eE") {
239 text += ".0"
240 }
241 return text
242}
243
244func optionalValue(value *string) string {
245 if value == nil {
246 return ""
247 }
248 return *value
249}

Callers 1

runInlineShellMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected