commandbox.system.modules_app.system-commands.commands

Class upgrade

lucee.Component
    extended by commandbox.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}

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any ConfigService


    • access = public
    • returntype = any
    • inject = ConfigService
    true false
    any artifactDir


    • access = public
    • returntype = any
    • inject = artifactDir@constants
    true false
    any homedir


    • access = public
    • returntype = any
    • inject = homedir@constants
    true false
    any ortusArtifactsURL


    • access = public
    • returntype = any
    • inject = ortusArtifactsURL@constants
    true false
    any ortusPRDArtifactsURL


    • access = public
    • returntype = any
    • inject = ortusPRDArtifactsURL@constants
    true false
    any progressBar


    • access = public
    • returntype = any
    • inject = ProgressBar
    true false
    any progressableDownloader


    • access = public
    • returntype = any
    • inject = ProgressableDownloader
    true false
    any semanticVersion


    • access = public
    • returntype = any
    • inject = semanticVersion@semver
    true false
    Method Summary
    any run([boolean latest='false'], [boolean force='false'])
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    ConfigService

    property any ConfigService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ConfigService
    serializable - true

    artifactDir

    property any artifactDir

    Attributes:
    access - public
    required - false
    returntype - any
    inject - artifactDir@constants
    serializable - true

    homedir

    property any homedir

    Attributes:
    access - public
    required - false
    returntype - any
    inject - homedir@constants
    serializable - true

    ortusArtifactsURL

    property any ortusArtifactsURL

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ortusArtifactsURL@constants
    serializable - true

    ortusPRDArtifactsURL

    property any ortusPRDArtifactsURL

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ortusPRDArtifactsURL@constants
    serializable - true

    progressBar

    property any progressBar

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ProgressBar
    serializable - true

    progressableDownloader

    property any progressableDownloader

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ProgressableDownloader
    serializable - true

    semanticVersion

    property any semanticVersion

    Attributes:
    access - public
    required - false
    returntype - any
    inject - semanticVersion@semver
    serializable - true

    Method Detail

    run

    public any run([boolean latest='false'], [boolean force='false'])

    Parameters:
    latest - Download bleeding edge version, instead of last stable version
    force - Force the update even if the version on the server is the same as locally