One CLI to rule them all… (2024)

qforce is a set of commands to help with salesforce development process. This is still very experimental so expect things to change a lot. Originally developed to support my own work while working across operating systems.

  • qforce dev:code

    Open all files committed in a branch in VS Code

    Usage

     $ qforce dev:code [FEATUREBRANCH] [DEVELOPBRANCH]

    Options

     -f, --force -h, --help show CLI help -n, --name=name name to print
  • qforce dev:config

    To set configuration variables for use as defaults for other commands.

    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. --queryFilePath=queryFilePath Path of query file to use with query command. --queryResultsPath=queryResultsPath Path to save results of query command.
  • qforce dev:deploy

    To calculate and apply patch based on a branch. It will first check for all files committed in given [FEATUREBRANCH] and then copy them from currently checked out branch to .qforce/deploy folder.

    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.
  • qforce dev:feature

    To retrieve and deploy source based on YAML file.

    Usage

     $ qforce dev:feature FEATURENAME

    Options

     -d, --deploy Deploys source already retrieved. -h, --help show CLI help -r, --retrieve Retrieve source based on YAML configuration. -s, --start Start a new feature. Will create YAML file and folder if not already exist. -u, --username=username
  • qforce dev:migrate

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

    Usage

     $ qforce dev:migrate

    Options

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

    To calculate and apply patch based on diff between feature branch and its main branch. While working on a feature, this is a handy way to copy changes from one branch to another or share with colleagues.

    Usage

     $ qforce dev:patch [FEATUREBRANCH] [DEVELOPBRANCH] # If patchPath is not set in .qforce/settings.json, then it can be provided as follows $ qforce dev:patch --patchPath path/to/patch/folder [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.
  • qforce dev:release

    To manage yml based release build, retrieve and deploy.

    Usage

     $ qforce dev:release [RELEASENAME]

    Options

     -R, --removeFeature=removeFeature Removes one or more features from the release specified. -a, --addFeature=addFeature Adds one or more features to the release specified. -b, --build To recalculate components based on features listed. -d, --deploy Deploys source already retrieved. -h, --help show CLI help -r, --retrieve Retrieve source based on YAML configuration. -s, --start Start a new release. Will create YAML file and folder if not already exist. -u, --username=username
  • qforce dev:snippet

    Generates VS Code snippets to help using qforce. Aliases are saved in qforce.code-snippets file inside .vscode directory.

    Usage

     $ qforce dev:snippet

    Options

     -a, --alias=alias Alias for the snippet -e, --exe Create alias for anonymous apex at default exe path. -h, --help show CLI help -i, --init To initialize snippet file. -p, --path=path Path to file that needs to be converted to snippet. Required if query/exe flags not passed -q, --query Create alias for query at default query path.
  • qforce dx:describe

    A wrapper for sfdx command to get description of an object.

    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
  • 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
  • qforce dx:ol

    List of available orgs.

    Usage

     $ qforce dx:ol

    Options

     -h, --help show CLI help -v, --verbose
  • qforce dx:open

    Open an org.

    Usage

     $ qforce dx:open

    Options

     -h, --help show CLI help -p, --path=path -u, --username=username
  • 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
One CLI to rule them all… (2024)
Top Articles
13 Curling Irons That'll Help You Achieve the Voluminous Waves of Your Dreams
7 Best Curling Irons for Fine Hair in [year] [Detailed Reviews]
Funny Roblox Id Codes 2023
Www.mytotalrewards/Rtx
San Angelo, Texas: eine Oase für Kunstliebhaber
Golden Abyss - Chapter 5 - Lunar_Angel
Www.paystubportal.com/7-11 Login
Steamy Afternoon With Handsome Fernando
fltimes.com | Finger Lakes Times
Detroit Lions 50 50
18443168434
Newgate Honda
Zürich Stadion Letzigrund detailed interactive seating plan with seat & row numbers | Sitzplan Saalplan with Sitzplatz & Reihen Nummerierung
978-0137606801
Nwi Arrests Lake County
Missed Connections Dayton Ohio
Justified Official Series Trailer
London Ups Store
Committees Of Correspondence | Encyclopedia.com
Jinx Chapter 24: Release Date, Spoilers & Where To Read - OtakuKart
How Much You Should Be Tipping For Beauty Services - American Beauty Institute
Mission Impossible 7 Showtimes Near Marcus Parkwood Cinema
Sprinkler Lv2
Uta Kinesiology Advising
Kcwi Tv Schedule
Nesb Routing Number
Olivia Maeday
Random Bibleizer
10 Best Places to Go and Things to Know for a Trip to the Hickory M...
Receptionist Position Near Me
Gopher Carts Pensacola Beach
Duke University Transcript Request
Nikki Catsouras: The Tragic Story Behind The Face And Body Images
Kiddie Jungle Parma
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
The Latest: Trump addresses apparent assassination attempt on X
In Branch Chase Atm Near Me
Appleton Post Crescent Today's Obituaries
Craigslist Red Wing Mn
American Bully Xxl Black Panther
Ktbs Payroll Login
Jail View Sumter
Thotsbook Com
Funkin' on the Heights
Caesars Rewards Loyalty Program Review [Previously Total Rewards]
Marcel Boom X
Www Pig11 Net
Ty Glass Sentenced
Michaelangelo's Monkey Junction
Game Akin To Bingo Nyt
Ranking 134 college football teams after Week 1, from Georgia to Temple
Latest Posts
Article information

Author: Otha Schamberger

Last Updated:

Views: 6465

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.