mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Update examples using subcommands
Replace references to aliases in the form of `command-subcommand` with `command subcommand`
This commit is contained in:
parent
94db44b259
commit
3a4342a6be
@ -7,30 +7,30 @@ See [Creating Plugins](plugins-create) for the super-simple API for supporting m
|
||||
## Add
|
||||
|
||||
```shell
|
||||
asdf plugin-add <name>
|
||||
# asdf plugin-add erlang
|
||||
asdf plugin add <name>
|
||||
# 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 <name> <git-url>
|
||||
# asdf plugin-add elm https://github.com/vic/asdf-elm
|
||||
asdf plugin add <name> <git-url>
|
||||
# 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 <name>
|
||||
# asdf plugin-update erlang
|
||||
asdf plugin update <name>
|
||||
# asdf plugin update erlang
|
||||
```
|
||||
|
||||
## Remove
|
||||
|
||||
```bash
|
||||
asdf plugin-remove <name>
|
||||
# asdf plugin-remove erlang
|
||||
asdf plugin remove <name>
|
||||
# asdf plugin remove erlang
|
||||
```
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user