Naughty Pinching Mannequins

    sfdx-flexi-plugin

    24.3.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/24.3.0 linux-x64 node-v14.17.3
    $ sfdx --help [COMMAND]
    USAGE
      $ sfdx COMMAND
    ...

    sfdx flexi:export [name=value...] -c <string> [-o <array>] [-d <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Export data from your org.

    USAGE
      $ sfdx flexi:export [name=value...] -c <string> [-o <array>] [-d <string>] [-v <string>] [-u <string>] [--apiversion 
      <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -c, --configfile=configfile                                                       (required) The configuration file
                                                                                        location.
    
      -d, --datadir=datadir                                                             [default: data] The path where the
                                                                                        data resides.
    
      -o, --object=object                                                               The sobject(s) that you wish to
                                                                                        export data for.
    
      -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
    
      --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
    
    EXAMPLES
      $ sfdx flexi:export -o Product2 -u myOrg -c config/cpq-cli-def.json
      $ sfdx flexi:export -u myOrg -c config/cpq-cli-def.json
      $ sfdx flexi:export -u myOrg -c config/cpq-cli-def.json -d woo
    

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

    sfdx flexi:import [name=value...] -c <string> [-o <array>] [-d <string>] [-r] [-p] [-h <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

    Import data to your org

    USAGE
      $ sfdx flexi:import [name=value...] -c <string> [-o <array>] [-d <string>] [-r] [-p] [-h <string>] [-u <string>] 
      [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -c, --configfile=configfile                                                       (required) The configuration file
                                                                                        location.
    
      -d, --datadir=datadir                                                             [default: data] The path where the
                                                                                        data resides.
    
      -h, --importhandler=importhandler                                                 Allows specification of the import
                                                                                        handler to use - will look in the
                                                                                        internal registry first and then
                                                                                        looks to load a module if the file
                                                                                        exists
    
      -o, --object=object                                                               The sobject(s) that you wish to
                                                                                        import data for.
    
      -p, --allowpartial                                                                Allows the operation to continue
                                                                                        when a failure occurs.
    
      -r, --remove                                                                      Delete the record(s) from the target
                                                                                        within the specified directory.
    
      -u, --targetusername=targetusername                                               username or alias for the target
                                                                                        org; overrides default target org
    
      --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
    
    EXAMPLE
      $ sfdx flexi:import -o Product2 -u myOrg -c config/cpq-cli-def.json
           Deploying data, please wait.... Deployment completed!
    

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

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

    Executes a script that is provided with sfdx context.

    USAGE
      $ sfdx flexi:script [name=value...] [-p <string>] [-h <string>] [-d <string>] [-v <string>] [-u <string>] 
      [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
    
    OPTIONS
      -d, --hookdir=hookdir                                                             [default: hooks] The path to the
                                                                                        directory to resolve hook scripts
                                                                                        when no hook project configuration
                                                                                        is provided
    
      -h, --hookcontext=hookcontext                                                     The hook context identifier - if a
                                                                                        hook can't be found in the hook
                                                                                        context store, then this will be
                                                                                        treated as a file path.
    
      -p, --path=path                                                                   The path of the script to execute.
    
      -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
    
      --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:run
      $ sfdx flexi:exec
    
    EXAMPLES
      $ sfdx flexi:script --path <script file path>
      $ sfdx flexi:script --hookcontext <hook context json>
      $ sfdx flexi:script --hookcontextid <hook context json path>
    

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

    Additional Documentation

    Install

    npm i sfdx-flexi-plugin

    DownloadsWeekly Downloads

    207

    Version

    24.3.0

    License

    MIT

    Unpacked Size

    302 kB

    Total Files

    186

    Last publish

    Collaborators

    • avatar