mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Change expected commands
This commit is contained in:
parent
efa1268689
commit
12b420b908
@ -7,8 +7,8 @@
|
||||
|
||||
asdf install <package> <version>
|
||||
asdf uninstall <package> <version>
|
||||
asdf installed <package>
|
||||
asdf available <package>
|
||||
asdf list <package>
|
||||
asdf list <package> -a
|
||||
asdf use <package> <version>
|
||||
asdf source add <package> <source>
|
||||
asdf source remove <package>
|
||||
|
10
lib/asdf.sh
10
lib/asdf.sh
@ -33,15 +33,9 @@ run_command () {
|
||||
fi
|
||||
|
||||
|
||||
if [ $1 = "installed" ]
|
||||
if [ $1 = "list" ]
|
||||
then
|
||||
installed_command
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ $1 = "available" ]
|
||||
then
|
||||
available_command
|
||||
list_command
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user