NPM Downloads/week lfot License

LFOT

Light Force Operator Tools

It's like wrapping a big fuzzy blanket around sfdx!


Description

The goal of this is project is to aid in a command line based salesforce development workflow by automating processes that span multiple existing sfdx commands. i.e. automating describe and list commands to build a package.xml file

Updates


Install

  1. Open Git Bash on Windows (WSL and Linux support experimental)

  2. Run

    npm i -g lfot
    

Optional Configuration

While amusing the telekinetic spinner may be annoying in practical use. So this can be turned off via creating a settings file.

  1. Open Git Bash on Windows

  2. Run to create the lfot settings folder

    mkdir ~/.lfot
    
  3. Run to write the lfot settings file

    echo "{\"showSpinnerDuration\":0,\"showSpinner\":false}" > ~/.lfot/settings.json
    

Disable command line feedback aside from command out put, useful for piping commands

  1. Add the following to the settings file mentioned above

    "logThings":false
    

Increase the default list command buffer size to prevent max buffer errors when an org has too many members in one type

  1. Add the following to the settings file mentioned above

    "maxBufferMBs":10
    

Use command line help, will pipe text help to stdout rather than open html version in browser

  1. Add the following to the settings file mentioned above

    "browserHelp":false
    

Turn off auto help entirely

  1. Add the following to the settings file mentioned above

    "alwaysHelp":false
    

Use

Help

Check the help by running

Tool

Generate a bashrc alias list of sfdx commands (Only works for Git Bash on Windows)

Generate comma separated list of fields

Meta

Build package.xml files for default user name

Open

Alias for sfdx force:org:open

Open setup pages

Open record pages