mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 09:43:04 -05:00
Made mnemonics more concise.
This commit is contained in:
@@ -78,11 +78,11 @@ function gvm {
|
||||
COMMAND="version";;
|
||||
u)
|
||||
COMMAND="use";;
|
||||
remove)
|
||||
rm)
|
||||
COMMAND="uninstall";;
|
||||
cur)
|
||||
c)
|
||||
COMMAND="current";;
|
||||
def)
|
||||
d)
|
||||
COMMAND="default";;
|
||||
esac
|
||||
|
||||
|
||||
@@ -14,25 +14,25 @@ Feature: Mnemonics
|
||||
|
||||
Scenario: Shortcut for displaying current Candidate Version in use
|
||||
Given the candidate "grails" version "1.3.9" is already installed and default
|
||||
When I enter "gvm cur grails"
|
||||
When I enter "gvm c grails"
|
||||
Then I see "Using grails version 1.3.9"
|
||||
|
||||
Scenario: Shortcut for displaying current Candidate Versions
|
||||
Given the candidate "groovy" version "2.0.5" is already installed and default
|
||||
And the candidate "grails" version "2.1.0" is already installed and default
|
||||
When I enter "gvm cur"
|
||||
When I enter "gvm c"
|
||||
Then I see "Using:"
|
||||
And I see "grails: 2.1.0"
|
||||
And I see "groovy: 2.0.5"
|
||||
|
||||
Scenario: Shortcut for uninstalling a local development Version
|
||||
Given the candidate "groovy" version "2.1-SNAPSHOT" is already linked to "/tmp/groovy-core"
|
||||
When I enter "gvm remove groovy 2.1-SNAPSHOT"
|
||||
When I enter "gvm rm groovy 2.1-SNAPSHOT"
|
||||
Then I see "Uninstalling groovy 2.1-SNAPSHOT"
|
||||
And the candidate "groovy" version "2.1-SNAPSHOT" is not installed
|
||||
|
||||
Scenario: Shortcut for showing the current Version of gvm
|
||||
When I enter "gvm version"
|
||||
When I enter "gvm v"
|
||||
Then I see "Groovy enVironment Manager x.y.z"
|
||||
|
||||
Scenario: Shortcut for using a candidate version that is installed
|
||||
@@ -45,7 +45,7 @@ Feature: Mnemonics
|
||||
|
||||
Scenario: Shortcut for defaulting a Candidate Version that is installed and not default
|
||||
And the candidate "groovy" version "2.0.5" is already installed but not default
|
||||
When I enter "gvm def groovy 2.0.5"
|
||||
When I enter "gvm d groovy 2.0.5"
|
||||
Then I see "Default groovy version set to 2.0.5"
|
||||
And the candidate "groovy" version "2.0.5" should be the default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user