MCPcopy Index your code
hub / github.com/peak/s5cmd / AppCommand

Function AppCommand

command/app.go:217–225  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

215}
216
217func AppCommand(name string) *cli.Command {
218 for _, c := range Commands() {
219 if c.HasName(name) {
220 return c
221 }
222 }
223
224 return nil
225}
226
227// Main is the entrypoint function to run given commands.
228func Main(ctx context.Context, args []string) error {

Callers 3

TestGenerateCommandFunction · 0.85
RunMethod · 0.85
generateCommandFunction · 0.85

Calls 1

CommandsFunction · 0.85

Tested by 1

TestGenerateCommandFunction · 0.68