MCPcopy
hub / github.com/cli/cli / parseSCPArgs

Function parseSCPArgs

internal/codespaces/ssh.go:146–148  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

144}
145
146func parseSCPArgs(args []string) (cmdArgs, command []string, err error) {
147 return parseArgs(args, "cFiJloPS")
148}
149
150// parseArgs parses arguments into two distinct slices of flags and command. Parsing stops
151// as soon as a non-flag argument is found assuming the remaining arguments are the command.

Callers 2

newSCPCommandFunction · 0.85
TestParseSCPArgsFunction · 0.85

Calls 1

parseArgsFunction · 0.85

Tested by 1

TestParseSCPArgsFunction · 0.68