autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

feat: add cf

Open howardwicks1 opened this issue 3 years ago • 6 comments

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Adding spec for cf cloudfoundry-cli

Additional info:

howardwicks1 avatar Aug 08 '22 15:08 howardwicks1

Overview

src/cf.ts:

Info:

URLs:

  • https://api.example.com)

withfig-bot avatar Aug 08 '22 15:08 withfig-bot

Hello @howardwicks1, thank you very much for creating a Pull Request! Here is a small checklist to get this PR merged as quickly as possible:

  • [ ] Do all subcommands / options which take arguments include the args property (args: {})?
  • [ ] Are all options modular? E.g. -a -u -x instead of -aux
  • [ ] Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

withfig-bot avatar Aug 08 '22 15:08 withfig-bot

Hi @howardwicks1, thanks for the PR! Was this created manually or generated via some integration?

fedeci avatar Aug 08 '22 17:08 fedeci

Hello @fedeci thank you for the comments. This completion spec was created manually.

howardwicks1 avatar Aug 09 '22 08:08 howardwicks1

Have added a basic generator for APP_NAME + description

howardwicks1 avatar Aug 10 '22 09:08 howardwicks1

Added generators for orgs and spaces, going to look at one for services next 😄

howardwicks1 avatar Aug 10 '22 12:08 howardwicks1

So pumped for the spec to land. If you want we can merge now, then do the remaining generators later - what you've got already is absolutely fantastic.

clo4 avatar Aug 11 '22 01:08 clo4

So pumped for the spec to land. If you want we can merge now, then do the remaining generators later - what you've got already is absolutely fantastic.

I will address the last couple comments first 😄 but then yes I would be happy for the merge to go ahead

howardwicks1 avatar Aug 11 '22 18:08 howardwicks1

Generator for services is now included, I have not attached the services generator to some of the user-provided service commands as I dont think they would work with the generator (as thats only able to poll the proper list of services present on the platform

howardwicks1 avatar Aug 12 '22 15:08 howardwicks1