autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

Added azure all command and subCommand

Open ikushaldave opened this issue 3 years ago • 9 comments
trafficstars

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

This will add all the azure command available in azure CLI.

What is the current behavior? (You can also link to an open issue here)

This part of autocompletion was missing in the fig.

What is the new behavior (if this is a feature change)?

This add most of azure command to fig autocompletion but have to work adding azure CLI options which is missing in this PR.

Additional info:

ikushaldave avatar Jan 22 '22 17:01 ikushaldave

Hello @ikushaldave, 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 Jan 22 '22 17:01 withfig-bot

Woah @ikushaldave! Thank you so much for this contribution. 🤩

I assume these were generated programmatically? Would you mind sharing the source code, so I can look at that rather than the generated completions. :)

mschrage avatar Jan 24 '22 00:01 mschrage

Hi @ikushaldave - would really love if you could put up the source code for your generator, maybe as another repo similar to how @ryanccn did for https://github.com/ryanccn/ffmpeg-fig ?

It's a lot easier to review that than a 33,000 line PR 😅

clo4 avatar Feb 15 '22 08:02 clo4

Hey @mschrage Hey Sorry I was in hospital just discharged will soon in this week a code.

cc @separte

ikushaldave avatar Feb 23 '22 07:02 ikushaldave

Thanks @ikushaldave! Hope you are fine!

fedeci avatar Feb 23 '22 09:02 fedeci

Amazing @ikushaldave I was just looking for az-cli autocomplete!

manuartero avatar Feb 23 '22 15:02 manuartero

@ikushaldave hope everything is okay now! Don't stress about getting this done, take whatever time you need to recover 🙂

clo4 avatar Feb 23 '22 21:02 clo4

Just wanted to quickly poke you @ikushaldave, hope your recovery is going well!

Do you have any progress to share with the azure CLI generator? I'd even be happy to take over this PR if you're busy 🙂

clo4 avatar Mar 29 '22 02:03 clo4

Hey @SeparateRecords here is code that I used for web scrapping from azure cli reference docs. This code not so good and readable. I thought to update code with extracting options too and optimise the code removing repetitive code.

[email protected]:ikushaldave/web-scrapping-azure-cli.git

I will complete it within upcoming days with adding options to output

ikushaldave avatar Mar 29 '22 05:03 ikushaldave

Closing this as it was never finalised. Really appreciate this awesome work however:

  1. The azure CLI has changed massively since this merge
  2. We need to be able to support updates to the azure CLI

brendanfalk avatar Sep 28 '23 23:09 brendanfalk