Skip to content

mpwalkerdine/zsh-gocloud-auto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsh-gocloud-auto

zsh-gocloud-auto is a simple scrapper and generator that produces a gcloud autocompletion file for zsh from the public reference guide.

the original code for the auto completion was taken from littleq0903 script here it is a bit out of date but worked great for the commands it had. I started filling in the missing commands and realised i am way to lazy to do that so just created this to generate it from google's awesome (and very nicely structured) reference guide.

Todo

  • strip out \n
  • add flag to ignore cache and re-scrape
  • flags not being displayed in auto complete
  • add git diff as part of run to the _gcloud file to preview changes
  • think of way to handle auto completion that should return the result of a command e.g organisations billings

About

an auto generating gcloud auto complete for zsh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.1%
  • Shell 16.9%