sf-cli

3.1.0 • Public • Published

sf

SFDX wrapper

oclif CircleCI License

Installation

Make sure Salesforce DX CLI is installed in your system.

brew tap matiasdelgado/sf-cli
brew install sf-cli

Commands

sf

Push/pull source code

USAGE
  $ sf

OPTIONS
  -l, --pull  Pull from scratch org
  -p, --push  Push to scratch org

See code: src/commands/index.js

sf autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ sf autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ sf autocomplete
  $ sf autocomplete bash
  $ sf autocomplete zsh
  $ sf autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

sf code

Push/pull source code

USAGE
  $ sf code

OPTIONS
  -l, --pull  Pull from scratch org
  -p, --push  Push to scratch org

See code: src/commands/code.js

sf delete

Delete scratch org

USAGE
  $ sf delete

OPTIONS
  -s, --select  Select scratch org to delete

See code: src/commands/delete.js

sf help [COMMAND]

display help for sf

USAGE
  $ sf help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sf info

Display current scratch org information

USAGE
  $ sf info

OPTIONS
  -a, --alias=alias  Alias or username
  -m, --markdown     Generates MD code

See code: src/commands/info.js

sf list

List all available scratch orgs.

USAGE
  $ sf list

See code: src/commands/list.js

sf log

Show remote logs

USAGE
  $ sf log

OPTIONS
  -d, --debug  Show debug messages only

See code: src/commands/log.js

sf open

Open the default scratch org in the browser or by picking from the list of available orgs.

USAGE
  $ sf open

OPTIONS
  -s, --select  Select scratch org to open

See code: src/commands/open.js

sf switch

Change the default scratch org

USAGE
  $ sf switch

OPTIONS
  -o, --open  Open the scratch org in the browser

See code: src/commands/switch.js

sf test

Run tests by class or method name

USAGE
  $ sf test

OPTIONS
  -s, --subject=subject  Run method or class test

See code: src/commands/test.js

Readme

Keywords

Package Sidebar

Install

npm i sf-cli

Weekly Downloads

170

Version

3.1.0

License

MIT

Unpacked Size

27.8 kB

Total Files

26

Last publish

Collaborators

  • matiasd