Hello fellow Fig users!!
I have generated and pushed the Fig completion specs for the flyctl
CLI. It’s gonna be usable in the following Fig update
Please feel free to review/add/change anything you find suitable. You can check:
- The completion specs: fig-autocomplete/src/flyctl.ts at feat/flyctl · bogdaaamn/fig-autocomplete · GitHub
- The two generators used to dynamically list the Fly apps and orgs in the terminal (as seen in the gif below): fig-autocomplete/src/flyctl.ts at 72c5328f330775ce3e4954d918e26eb0b147b63a · bogdaaamn/fig-autocomplete · GitHub
- The Go generator used to extract all the CLI commands, args, and options: Add genFigSpec package and generateFigSpec command · bogdaaamn/flyctl@c0f338a · GitHub
Or join the conversation of integrating the Fig spec generator in the flyctl
codebase. I am not sure how many Fig users are around, but if you have thoughts let them go feat: add flyctl spec by bogdaaamn · Pull Request #1202 · withfig/autocomplete · GitHub