sfdx-flexi-plugin

28.0.0 • Public • Published

sfdx-flexi-plugin

Version check Appveyor CI Codecov Downloads/week License

$ npm install -g sfdx-flexi-plugin
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
sfdx-flexi-plugin/28.0.0 linux-x64 node-v14.19.0
$ sfdx --help [COMMAND]
USAGE
  $ sfdx COMMAND
...

sfdx flexi:run [name=value...] -p <string> [-x <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Executes a function resolved from a js or ts module with a provided sfdx context

USAGE
  $ sfdx flexi:run [name=value...] -p <string> [-x <string>] [-v <string>] [-u <string>] [--apiversion <string>] 
  [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -p, --path=path                                                                   (required) The module path

  -u, --targetusername=targetusername                                               username or alias for the target
                                                                                    org; overrides default target org

  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                    org; overrides default dev hub org

  -x, --export=export                                                               The module export to execute

  --apiversion=apiversion                                                           override the api version used for
                                                                                    api requests made by this command

  --json                                                                            format output as json

  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                    this command invocation

ALIASES
  $ sfdx flexi:script
  $ sfdx flexi:execute
  $ sfdx flexi:exec
  $ sfdx flexi:call

EXAMPLES
  $ sfdx flexi:run --path <module path>
  $ sfdx flexi:run --path <module path> --export <module export name>

See code: src/commands/flexi/run.ts

Additional Documentation

Package Sidebar

Install

npm i sfdx-flexi-plugin

Weekly Downloads

84

Version

28.0.0

License

MIT

Unpacked Size

124 kB

Total Files

97

Last publish

Collaborators

  • npmfish