diff --git a/docs/core-manage-plugins.md b/docs/core-manage-plugins.md index e9d86cdc..bffa8f5e 100644 --- a/docs/core-manage-plugins.md +++ b/docs/core-manage-plugins.md @@ -7,30 +7,30 @@ See [Creating Plugins](plugins-create) for the super-simple API for supporting m ## Add ```shell -asdf plugin-add -# asdf plugin-add erlang +asdf plugin add +# asdf plugin add erlang ``` If the plugin you want to install is not part of the plugins repository, you can add it using its repository URL: ```shell -asdf plugin-add -# asdf plugin-add elm https://github.com/vic/asdf-elm +asdf plugin add +# asdf plugin add elm https://github.com/vic/asdf-elm ``` ## List Installed ```shell -asdf plugin-list -# asdf plugin-list +asdf plugin list +# asdf plugin list # java # nodejs ``` ```shell -asdf plugin-list --urls -# asdf plugin-list +asdf plugin list --urls +# asdf plugin list # java https://github.com/skotchpine/asdf-java.git # nodejs https://github.com/asdf-vm/asdf-nodejs.git ``` @@ -38,19 +38,19 @@ asdf plugin-list --urls ## Update ```shell -asdf plugin-update --all +asdf plugin update --all ``` If you want to update a specific package, just say so. ```shell -asdf plugin-update -# asdf plugin-update erlang +asdf plugin update +# asdf plugin update erlang ``` ## Remove ```bash -asdf plugin-remove -# asdf plugin-remove erlang +asdf plugin remove +# asdf plugin remove erlang ``` diff --git a/docs/plugins-create.md b/docs/plugins-create.md index e68cd2e7..4abd9aed 100644 --- a/docs/plugins-create.md +++ b/docs/plugins-create.md @@ -215,8 +215,8 @@ cmd="$cmd $releases_path" ## Submitting plugins to the official plugins repository -`asdf` can easily install plugins by specifying the plugin repository url, e.g. `plugin-add my-plugin https://github.com/user/asdf-my-plugin.git`. +`asdf` can easily install plugins by specifying the plugin repository url, e.g. `plugin add my-plugin https://github.com/user/asdf-my-plugin.git`. -To make it easier on your users, you can add your plugin to the official plugins repository to have your plugin listed and easily installable using a shorter command, e.g. `asdf plugin-add my-plugin`. +To make it easier on your users, you can add your plugin to the official plugins repository to have your plugin listed and easily installable using a shorter command, e.g. `asdf plugin add my-plugin`. Follow the instruction at the plugins repository: [asdf-vm/asdf-plugins](https://github.com/asdf-vm/asdf-plugins).