question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support SFDX Plugin Autocompletes with Fig Tooling

See original GitHub issue

Sanity checks

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.

image image image

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:closed
  • Created a year ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
crazynammercommented, Sep 12, 2022

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.

0reactions
SeparateRecordscommented, Oct 17, 2022

Going to close this issue now but happy to work on this more if you have any feedback 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

sfdx plugins:install <plugin> | Fig
Installs a plugin into the CLI.
Read more >
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found