Support SFDX Plugin Autocompletes with Fig Tooling
See original GitHub issueSanity checks
- I have searched github.com/withfig/fig/issues and there are no duplicates of my feature
Feature Details
Description:
Please include a detailed description of the feature (and an image or screen recording, if applicable)
For the following CLI tool from Salesforce, it would be nice to add support for autocomplete for the plugins as well that get installed instead of just the main SFDX CLI.



Main CLI - sfdx -h
Salesforce CLI
VERSION
sfdx-cli/7.165.0 darwin-arm64 node-v18.8.0
USAGE
$ sfdx [COMMAND]
TOPICS
alias manage username aliases
auth authorize an org for use with the Salesforce CLI
config configure the Salesforce CLI
force tools for the Salesforce developer
info access cli info from the command line
org guided workflows to help with developer orgs
package helpers to deal with packages in your project
plugins add/remove/create CLI plug-ins
sfdmu The Salesforce DX data migration tool.
sfpowerkit Salesforce DevOps Helper Extensions to use in CI/CD Pipelines
sfpowerscripts An opinionated salesforce build system (statsd metrics enabled) as a sfdx plugin that can be
implemented in any CI/CD system of choice
version
COMMANDS
autocomplete display autocomplete installation instructions
commands list all the commands
help Display help for sfdx.
init intializes the project with various defaults
org guided workflows to help with developer orgs
package helpers to deal with packages in your project
plugins List installed plugins.
sync sync changes effortlessly either with repository or development environment
update update the sfdx CLI
version
whatsnew Display Salesforce CLI release notes on the command line.
which Show which plugin a command is in.
work create/switch/submit a workitem
Plugins - Example - sfpowerscripts
sfdx sfpowerscripts -h
An opinionated salesforce build system (statsd metrics enabled) as a sfdx plugin that can be implemented in any CI/CD system of choice
USAGE
$ sfdx sfpowerscripts:COMMAND
TOPICS
sfpowerscripts:analyze Analyze your projects using static analysis tools such as PMD
sfpowerscripts:apextests Trigger Apex Tests and validate apex tests in a package
sfpowerscripts:artifacts Fetch artifacts from an artifact registry that is either NPM compatible or supports universal
artifacts
sfpowerscripts:changelog Track your artifacts & user stories as they progress through different environments, with
release changelogs
sfpowerscripts:orchestrator Orchestrate packages from a monorepo through its lifecycle, driven by descriptors in your
sfdx-project.json
sfpowerscripts:package Work with various types of packages such as unlocked/source/data/delta individually
sfpowerscripts:pool Manage the pooled orgs created by the sfpowerscripts orchestrator in prepare stage
sfpowerscripts:releasedefinition Commands around release definition
Issue Analytics
- State:
- Created a year ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Issues with installing sfdx-plugins - JavaScript heap out of ...
For sfdx plugins, the best current workaround is to use our installer-based (not npm) install method on 7.130.1 (currently tagged as stable ...
Read more >Install Salesforce CLI - Salesforce Developers
Salesforce CLI distributes TAR files that you can install on all supported operating systems. On Linux, the only way to install Salesforce CLI...
Read more >awesome-zsh-plugins | Curated list of awesome lists
It has support for themes (change the way your shell looks), plugins (adds ... various completions tools, libraries and integrations. fly-zsh-autocomplete ...
Read more >Add amazing autocomplete to your Terminal with Fig - YouTube
One you starting using Fig in your terminal, you'll wonder how you ever managed without it! Fig Autocomplete adds VS Code style IntelliSense ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That would be great if there were an additional @fig/sfdx to list and generated all the users local installed plugins to enable autocomplete. Let me know if you have any specific questions around SFDX as I use it daily and have a network of colleagues to help answer some questions as needed.
Going to close this issue now but happy to work on this more if you have any feedback 🙂