MCPcopy Create free account
hub / github.com/auth0/auth0-cli / parseEditorArgs

Function parseEditorArgs

internal/prompt/editor_unix.go:12–14  ·  view source on GitHub ↗

parseEditorArgs parses POSIX shell-style command line arguments into a slice of strings suitable for exec.Command.

(cmd string)

Source from the content-addressed store, hash-verified

10// parseEditorArgs parses POSIX shell-style command line arguments
11// into a slice of strings suitable for exec.Command.
12func parseEditorArgs(cmd string) ([]string, error) {
13 return shellquote.Split(cmd)
14}

Callers 3

TestParseEditorArgsFunction · 0.70
TestParseEditorArgsFunction · 0.70
openFileMethod · 0.70

Calls

no outgoing calls

Tested by 2

TestParseEditorArgsFunction · 0.56
TestParseEditorArgsFunction · 0.56