MCPcopy Create free account
hub / github.com/Scalingo/cli / CmdFlagsAutoComplete

Function CmdFlagsAutoComplete

cmd/autocomplete/cmdflags.go:9–19  ·  view source on GitHub ↗
(c *cli.Command, command string)

Source from the content-addressed store, hash-verified

7)
8
9func CmdFlagsAutoComplete(c *cli.Command, command string) error {
10 if c.Name != command {
11 return nil
12 }
13
14 if len(os.Args) > 1 {
15 DisplayFlags(c.Flags)
16 }
17
18 return nil
19}

Callers 15

logs.goFile · 0.92
env.goFile · 0.92
changelog.goFile · 0.92
destroy.goFile · 0.92
rename.goFile · 0.92
dashboard.goFile · 0.92
help.goFile · 0.92
influxdb.goFile · 0.92
redis.goFile · 0.92
timeline.goFile · 0.92
logs_archives.goFile · 0.92
git.goFile · 0.92

Calls 1

DisplayFlagsFunction · 0.85

Tested by

no test coverage detected