autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

[yarn] version missing commands

Open ShawnCockburn opened this issue 3 years ago • 7 comments

Sanity checks

  • [X] My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • [X] I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • [X] I would like to work on this.

What CLI tool does this relate to?

yarn

Which statement makes the most sense?

This completion spec isn't complete

Issue Details

(Note to self, I will fix this: @ShawnCockburn )

yarn version missing auto complete commands

also check for other missing yarn commands

ShawnCockburn avatar Jun 13 '22 13:06 ShawnCockburn

Actually we should start using diff-versioned specs for yarn

fedeci avatar Jun 13 '22 13:06 fedeci

Since yarn 1 is very different from yarn 2 and 3

fedeci avatar Jun 13 '22 13:06 fedeci

Actually we should start using diff-versioned specs for yarn

I was referring to version yarn 1.22.15.

I just had a look at the documentation on the website and I couldn't find much info about diff-versioned specs and how to use/make them, could you point me in the right direction?

Thank you mate!

ShawnCockburn avatar Jun 13 '22 16:06 ShawnCockburn

@fedeci @SeparateRecords ^^^ bump ^^^

ShawnCockburn avatar Jun 30 '22 12:06 ShawnCockburn

Thanks for pinging me (always ping me as I tend to be overwhelmed by notifications and often forget something)! I believe we need to document diff-versioned specs, for the moment just update the current spec which is actually yarn@1 with some commands from later versions!

fedeci avatar Jul 01 '22 14:07 fedeci

will do, thanks!

ShawnCockburn avatar Jul 04 '22 10:07 ShawnCockburn

I'm assigning this so I remember to create those docs!😃

fedeci avatar Jul 06 '22 11:07 fedeci

I can take this, but I'm not sure how many arguments need to be added to the spec

joeheyming avatar Oct 09 '22 21:10 joeheyming

https://github.com/withfig/autocomplete/pull/1606

joeheyming avatar Oct 09 '22 21:10 joeheyming

This was fixed with the above merges. Closing CleanShot 2022-11-23 at 10 45 10@2x

brendanfalk avatar Nov 23 '22 18:11 brendanfalk