(ctx context.Context, flag string)
| 85 | } |
| 86 | |
| 87 | func FlagsAutoComplete(ctx context.Context, flag string) bool { |
| 88 | switch flag { |
| 89 | case "-r", "--remote": |
| 90 | return CountFlags([]string{"-r", "--remote"}) == 1 && FlagRemoteAutoComplete(ctx) |
| 91 | case "-a", "--app": |
| 92 | return CountFlags([]string{"-a", "--app"}) == 1 && FlagAppAutoComplete(ctx) |
| 93 | } |
| 94 | |
| 95 | return false |
| 96 | } |
no test coverage detected