carapace-sh / carapace-bin

multi-shell multi-command argument completer
https://carapace.sh
MIT License
843 stars 46 forks source link

asdf completer #1244

Open AlexanderBrevig opened 2 years ago

AlexanderBrevig commented 2 years ago

Command

asdf

Description

The Multiple Runtime Version Manager

Homepage

https://asdf-vm.com/

Documentation

https://asdf-vm.com/manage/commands.html

Repository

https://github.com/asdf-vm/asdf

Complexity

L

Anything else?

No response

Polar

Fund with Polar

rsteube commented 2 years ago
/tmp/asdf via 🐹 v1.18.2 
esh ❯ echo | caraparse -n asdf -s "Manage multiple runtime versions with a single CLI tool" > root.go

/tmp/asdf via 🐹 v1.18.2 
esh ❯ echo | caraparse -n plugin -p root -s "manage plugins" > plugin.go

/tmp/asdf via 🐹 v1.18.2 
esh ❯ echo | caraparse -n add -p plugin -s "add a plugin" > plugin_add.go

You need to add the flags manually in this case. Or create parseable text files, but in this case it schould be faster to just do it by hand.