Asdf: Is it "asdf plugin {cmd}" or "asdf plugin-{cmd}"?

Created on 9 Aug 2020  路  1Comment  路  Source: asdf-vm/asdf

Documentation seems to suggest that usage syntax for plugins is

asdf plugin {cmd here}

but fish (and I believe zsh as well) completion suggest that syntax is

asdf plugin-{cmd here}

both seems to work but a small clarification on difference would be nice

help wanted

Most helpful comment

They function the same. Initially it was asdf plugin-{cmd here} but asdf plugin {cmd here} was added as it is more fluid. The Shell completions should probably be updated to reflect the newer method. Happy to receive a PR?

Edit: The asdf help text is the best place to get the latest command names. Notably, asdf shim-versions should remain hyphenated.

>All comments

They function the same. Initially it was asdf plugin-{cmd here} but asdf plugin {cmd here} was added as it is more fluid. The Shell completions should probably be updated to reflect the newer method. Happy to receive a PR?

Edit: The asdf help text is the best place to get the latest command names. Notably, asdf shim-versions should remain hyphenated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmlemos picture dmlemos  路  3Comments

pachun picture pachun  路  3Comments

robsonpeixoto picture robsonpeixoto  路  4Comments

gmile picture gmile  路  3Comments

jamesstidard picture jamesstidard  路  4Comments