This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@salesforce/command
TypeScript icon, indicating that this package has built-in type declarations

5.3.9 • Public • Published

🛑 deprecation notice

This library is deprecated. You should migrate to https://github.com/salesforcecli/sf-plugins-core.

A migration guide is provided in the sf wiki https://github.com/salesforcecli/cli/wiki/Migrate-Plugins-Built-For-Sfdx

NPM

Description

This package contains the base command class for Salesforce CLI, SfdxCommand. Extend this class for convenient access to common Salesforce CLI parameters, a logger, CLI output formatting, scratch orgs, and Dev Hubs. This class extends @oclif/command and is available within a plug-in generated by Salesforce Plug-In Generator.

Usage

Check Your Salesforce CLI Version

Commands that extend SfdxCommand can only be used with Salesforce CLI version 6.8.2 or later. To check your Salesforce CLI version:

$ sfdx version
sfdx-cli/6.42.0-ae478b3cb8 (darwin-x64) node-v8.9.4

Features

To learn more about the features of the Command Library see the Salesforce CLI Plug-In Developer Guide.

Contributing

If you are interested in contributing, please take a look at the CONTRIBUTING guide.

Development

If you are interested in building this package locally, please take a look at the DEVELOPING doc.

Related Docs and Repositories

Issues

Please report any issues here: https://github.com/forcedotcom/cli/issues

Package Sidebar

Install

npm i @salesforce/command

Weekly Downloads

147,313

Version

5.3.9

License

BSD-3-Clause

Unpacked Size

169 kB

Total Files

18

Last publish

Collaborators

  • abirchfieldsfdc
  • adirasanam
  • amphro
  • apapko
  • ashokrudraraju
  • byao
  • cwallsf
  • damilareolowoniyi
  • danielshox
  • dbreese-salesforce
  • demianbrecht
  • dferro
  • dhagberg-sf
  • dhersam
  • dlouvton
  • dme722
  • duane.chew
  • ekashida
  • fernomac
  • gr8gatsby
  • hkii
  • iamaziz
  • ire-npm-team-user
  • ivarley
  • jasonschroeder-sfdc
  • jbartolotta-sfdc
  • jburnie
  • jcourtner
  • jimjag
  • jleen-sfdc
  • jmsjtu
  • jodarove
  • jqian
  • jye-sf
  • kevinv11n
  • khawkins
  • maward
  • mbettio
  • mjrust
  • mmadialagan
  • mobify
  • mpsenn
  • nolanlawson
  • packagellama
  • pmdartus
  • ravi.jayaramappa
  • salesforce-releases
  • sfdctaka