sourcegraph/lib/cliutil
Robert Lin 4b32a70bd8
sg/msp: add completions for services and environments (#58538)
This change adds completions for services and environments on MSP commands. The original plan was to use a `-e` flag based on feedback from @jhchabran , but after playing around with it a bit I think posargs with completions is easier to implement and much more ergonomic: https://github.com/sourcegraph/sourcegraph/pull/58538#discussion_r1404598941

## Test plan

Relevant commands:

```
sg msp gen -all msp-testbed
sg msp tfc sync -all msp-testbed
```

Completions:

https://github.com/sourcegraph/sourcegraph/assets/23356519/1ddb7cb4-ec07-4fc7-a2b6-259e79028b8d
2023-11-24 11:20:59 -08:00
..
completions sg/msp: add completions for services and environments (#58538) 2023-11-24 11:20:59 -08:00
docgen bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
exit bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
BUILD.bazel bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
doc.go lib/cliutil: create package for exporting urfave/cli utilities (#44826) 2022-11-25 21:15:19 +00:00