lucee.Componentcommandbox.system.modules_app.system-commands.commands.upgrade
Upgrades CommandBox to the latest stable version. . {code:bash} upgrade {code} . Use the "latest" parameter to download the bleeding edge version .x {code:bash} upgrade --latest {code} . Use the "force" parameter to re-install even if the version installed matches that on the server . {code:bash} upgrade --force {code}
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
ConfigService
|
true
|
false
|
|
any
|
artifactDir
|
true
|
false
|
|
any
|
homedir
|
true
|
false
|
|
any
|
ortusArtifactsURL
|
true
|
false
|
|
any
|
ortusPRDArtifactsURL
|
true
|
false
|
|
any
|
progressBar
|
true
|
false
|
|
any
|
progressableDownloader
|
true
|
false
|
|
any
|
semanticVersion
|
true
|
false
|
Method Summary | |
---|---|
any
|
run([boolean latest='false'], [boolean force='false'])
|
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- ConfigServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- artifactDir@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- homedir@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ortusArtifactsURL@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ortusPRDArtifactsURL@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ProgressBarserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- ProgressableDownloaderserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- semanticVersion@semverserializable
- trueMethod Detail |
---|
latest
- Download bleeding edge version, instead of last stable versionforce
- Force the update even if the version on the server is the same as locally