Get unlimited public & private packages + team-based management with npm Teams.Learn more »

qforce

0.4.10 • Public • Published

qforce

Commands to help with salesforce development process. This is still very experimental so expect things to change a lot. More detailed documentation is available here

oclif Version Downloads/week License

Usage

$ npm install -g qforce
$ qforce COMMAND
running command...
$ qforce (-v|--version|version)
qforce/0.4.10 darwin-x64 node-v10.13.0
$ qforce --help [COMMAND]
USAGE
  $ qforce COMMAND
...

Commands

qforce dev:config [FILE]

describe the command here

USAGE
  $ qforce dev:config [FILE]

OPTIONS
  -g, --global                             To set or retrieve setting from global.
  -h, --help                               show CLI help
  -u, --targetusername=targetusername      Set or retrieve targetusername.
  --bulkStatusInterval=bulkStatusInterval  Interval in milliseconds for polling bluk job status.
  --bulkStatusRetries=bulkStatusRetries    Number of retries to poll status of bulk job.
  --exeFilePath=exeFilePath                Path to file to execute for exe command.
  --exeResultsPath=exeResultsPath          Path to save log of exe command execution.
  --init                                   Initiate qforce settings.
  --lastDeployCommit=lastDeployCommit      Commit hash of the last commit.
  --queryFilePath=queryFilePath            Path of query file to use with query command.
  --queryResultsPath=queryResultsPath      Path to save results of query command.

ALIASES
  $ qforce config
  $ qforce dev:config

See code: src/commands/dev/config.ts

qforce dev:deploy [FEATUREBRANCH] [DEVELOPBRANCH]

Deploy source components included in a feature branch.

USAGE
  $ qforce dev:deploy [FEATUREBRANCH] [DEVELOPBRANCH]

OPTIONS
  -d, --diff                           Set to true if passing commit hash.
  -h, --help                           show CLI help
  -u, --username=username
  --lastDeployCommit=lastDeployCommit  Commit hash of the last commit.

ALIASES
  $ qforce deploy
  $ qforce dev:deploy

See code: src/commands/dev/deploy.ts

qforce dev:migrate

Migrate data from one org to another based on a migration plan.

USAGE
  $ qforce dev:migrate

OPTIONS
  -d, --destination=destination  destination org username or alias
  -f, --file=file                Path of migration plan file. Must be relative to cwd and in unix format.
  -h, --help                     show CLI help
  -n, --name=name                Name of the step to execute.
  -s, --source=source            source org username or alias.
  --sample                       Copy sample migration plan files to current directory.

ALIASES
  $ qforce migrate
  $ qforce m

See code: src/commands/dev/migrate.ts

qforce dev:patch [FEATUREBRANCH] [DEVELOPBRANCH]

Prepare and apply a patch to current branch from another branch.

USAGE
  $ qforce dev:patch [FEATUREBRANCH] [DEVELOPBRANCH]

OPTIONS
  -a, --apply                Set to true if want to apply calculated patch to current branch.
  -h, --help                 show CLI help
  -p, --patchPath=patchPath  Path to save the patch file.
  -s, --syncUp               Set to true if need to retrieve

ALIASES
  $ qforce patch
  $ qforce dev:patch

See code: src/commands/dev/patch.ts

qforce dx:describe

describe the command here

USAGE
  $ qforce dx:describe

OPTIONS
  -a, --all                To get all sObjects.
  -h, --help               show CLI help
  -r, --result=result      Relative path to save results.
  -s, --sobject=sobject    sObject name.
  -u, --username=username

ALIASES
  $ qforce describe
  $ qforce dx:describe

See code: src/commands/dx/describe.ts

qforce dx:exe

Execute anonymous apex.

USAGE
  $ qforce dx:exe

OPTIONS
  -f, --file=file          Relative path of apex file in unix format.
  -h, --help               show CLI help
  -r, --result=result      Relative path to save results.
  -u, --username=username

ALIASES
  $ qforce exe
  $ qforce dx:exe

EXAMPLE
  $ q dx:exe

See code: src/commands/dx/exe.ts

qforce dx:ol

List of available orgs.

USAGE
  $ qforce dx:ol

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

EXAMPLE
  $ q dx:ol

See code: src/commands/dx/ol.ts

qforce dx:open

Open an org.

USAGE
  $ qforce dx:open

OPTIONS
  -h, --help               show CLI help
  -p, --path=path
  -u, --username=username

ALIASES
  $ qforce open
  $ qforce dx:open
  $ qforce o

EXAMPLE
  $ q dx:open -u uat

See code: src/commands/dx/open.ts

qforce dx:query

Run a SOQL and save results to csv.

USAGE
  $ qforce dx:query

OPTIONS
  -f, --file=file          Relative path of query file in unix format.
  -h, --help               show CLI help
  -q, --query=query        SOQL query as string.
  -r, --result=result      Relative path to save results of query.
  -u, --username=username

ALIASES
  $ qforce query
  $ qforce q
  $ qforce dx:query

EXAMPLE
  $ q dx:query

See code: src/commands/dx/query.ts

qforce help [COMMAND]

display help for qforce

USAGE
  $ qforce help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Install

npm i qforce

DownloadsWeekly Downloads

250

Version

0.4.10

License

MIT

Unpacked Size

63.3 kB

Total Files

33

Last publish

Collaborators

  • avatar