0.2.1 • Published 2 years ago

@steampunk/sfdx-steampunk-data v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@steampunk/sfdx-steampunk-data

Steampunk's SFDX Data Plugin

Version Known Vulnerabilities Downloads/week License

$ npm install -g @steampunk/sfdx-steampunk-data
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
@steampunk/sfdx-steampunk-data/0.2.1 win32-x64 node-v16.15.1
$ sfdx --help [COMMAND]
USAGE
  $ sfdx COMMAND
...

sfdx punk:data:files:upload -f <filepath> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Upload multiple files based on a csv

USAGE
  $ sfdx punk:data:files:upload -f <filepath> [-u <string>] [--apiversion <string>] [--json] [--loglevel 
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -f, --filepath=filepath                                                           (required) Path to csv file

  -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 punk:data:files:upload -f ~/FilesToUpload.csv

    You will need to format a csv with the following headers.

    Required:
      - PathOnClient
      - Title

    Optional:
      - FirstPublishLocationId

See code: src/commands/punk/data/files/upload.ts