Nightingale Posing Mischievously

    salesforce-deploy-cli

    1.1.2 • Public • Published

    Salesforce Deploy CLI

    cartridges deploy made easy

    build status npm version dependencies devDependencies vulnerabilities javascript style guide conventional commits

    CLI to deploy cartridges on a Salesforce Commerce Cloud instance.

    Quick Overview

    Installation

    npm install -g salesforce-deploy-cli

    Usage

    Usage: salesforce-deploy [options]
    
    Options:
      --hostname, -h      Hostname of the SFCC instance                   [required]
      --username, -u      Business Manager username for instance          [required]
      --password, -p      Business Manager password for instance          [required]
      --cartridges, -c    Paths to cartridges folder to deploy    [array] [required]
      --code-version, -v  Name of the code version to deploy              [required]
      --force, -f         Remove code version before deploy         [default: false]
      --help              Show help                                        [boolean]
      --version           Show version number                              [boolean]
    

    Example - Deploy cartridges from a single folder

    $ salesforce-deploy \
      --hostname 'dev01-realm-customer.demandware.net' \
      --username 'bm_user' \
      --password 'bm_pass' \
      --cartridges './cartridges/project_1' \
      --code-version 'v1.0.0-rc.0' 

    Example - Deploy cartridges from multi folder

    $ salesforce-deploy \
      --hostname 'dev01-realm-customer.demandware.net' \
      --username 'bm_user' \
      --password 'bm_pass' \
      --cartridges './cartridges/project_1' \
      --cartridges './cartridges/project_2:**/{cart,checkout}/**' \
      --cartridges './cartridges/project_3:**/{adyen}/**' \
      --code-version 'v1.0.0-rc.0'
      --force

    Contributing

    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

    Please make sure to update tests as appropriate.

    License

    MIT. Copyright (C) 2019 Francesco Pasqua.

    Install

    npm i salesforce-deploy-cli

    DownloadsWeekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    147 kB

    Total Files

    8

    Last publish

    Collaborators

    • cesconix