1.10.0 • Published 5 months ago

sfdx-leboff v1.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

sfdx-leboff

Some commands that were missing

Version GH Actions Coverage Status Known Vulnerabilities Downloads/week License

$ npm install -g sfdx-leboff
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
sfdx-leboff/1.10.0 linux-x64 node-v16.20.2
$ sfdx --help [COMMAND]
USAGE
  $ sfdx COMMAND
...

sfdx leboff:customfields:fieldhistory -c <string> [-d] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Enable field history on custom field

USAGE
  $ sfdx leboff:customfields:fieldhistory -c <string> [-d] [-v <string>] [-u <string>] [--apiversion <string>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -c, --customfields=customfields                                                   (required) Comma separated list of
                                                                                    custom fields to enable field
                                                                                    history

  -d, --disable                                                                     Disable field history

  -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

EXAMPLE
  sfdx leboff:customfields:fieldHistory --field Account.Test__c --targetusername myOrg@example.com

See code: src/commands/leboff/customfields/fieldhistory.ts

sfdx leboff:dashboards:runninguser -n <string> -t <string> [-c <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Modify the dashboard running user or view as option

USAGE
  $ sfdx leboff:dashboards:runninguser -n <string> -t <string> [-c <string>] [-v <string>] [-u <string>] [--apiversion 
  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -c, --userwhereclause=userwhereclause                                             Where clause used to find the
                                                                                    running user. Required if type is
                                                                                    SpecifiedUser

  -n, --developername=developername                                                 (required) The developer name of the
                                                                                    dashboard to modify

  -t, --dashboardtype=dashboardtype                                                 (required) The Dashboard running
                                                                                    user type. Acceptable values are
                                                                                    LoggedInUser, SpecifiedUser, and
                                                                                    MyTeamUser

  -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

EXAMPLE
  sfdx leboff:dashboards:runninguser --targetusername myOrg@example.com  --developername My_Dashboard --userwhereclause 
  "email='test@example.com'"

See code: src/commands/leboff/dashboards/runninguser.ts

sfdx leboff:flows:activate [-n <string>] [-p <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Activate latest version of a Flow based on API Name

USAGE
  $ sfdx leboff:flows:activate [-n <string>] [-p <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -n, --developername=developername                                                 The developer name of the flow to
                                                                                    deactivate

  -p, --namespaceprefix=namespaceprefix                                             Use to specify a specific namespace
                                                                                    prefix

  -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

EXAMPLE
  sfdx leboff:flows:activate --targetusername myOrg@example.com  --developername My_Flow

See code: src/commands/leboff/flows/activate.ts

sfdx leboff:flows:deactivate [-n <string>] [-p <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Deactivate a Flow based on API Name

USAGE
  $ sfdx leboff:flows:deactivate [-n <string>] [-p <string>] [-v <string>] [-u <string>] [--apiversion <string>] 
  [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -n, --developername=developername                                                 The developer name of the flow to
                                                                                    deactivate

  -p, --namespaceprefix=namespaceprefix                                             Use to specify a specific namespace
                                                                                    prefix

  -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

EXAMPLE
  sfdx leboff:flows:deactivate --targetusername myOrg@example.com  --developername My_Flow

See code: src/commands/leboff/flows/deactivate.ts

sfdx leboff:flows:delete [-n <string>] [-p <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Delete a Flow and all versions based on API Name

USAGE
  $ sfdx leboff:flows:delete [-n <string>] [-p <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -n, --developername=developername                                                 The developer name of the flow to
                                                                                    deactivate

  -p, --namespaceprefix=namespaceprefix                                             Use to specify a specific namespace
                                                                                    prefix

  -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

EXAMPLE
  sfdx leboff:flows:delete --targetusername myOrg@example.com  --developername My_Flow

See code: src/commands/leboff/flows/delete.ts

sfdx leboff:folders:copysharing -s <string> -t <string> [-n <string>] [-e <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Copy sharing from one folder to another

USAGE
  $ sfdx leboff:folders:copysharing -s <string> -t <string> [-n <string>] [-e <string>] [-v <string>] [-u <string>] 
  [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -e, --targetnamespace=targetnamespace                                             The namespace folder to copy sharing
                                                                                    to

  -n, --sourcenamespace=sourcenamespace                                             The namespace of the folder to copy
                                                                                    sharing from

  -s, --sourcefolder=sourcefolder                                                   (required) The developername of the
                                                                                    folder to copy sharing from

  -t, --targetfolder=targetfolder                                                   (required) The developername folder
                                                                                    to copy sharing to

  -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

EXAMPLE
  sfdx leboff:folders:copysharing --targetusername myOrg@example.com  --sourcefolder CompanyDashboards --targetfolder 
  OtherDashboards

See code: src/commands/leboff/folders/copysharing.ts

sfdx leboff:picklists:activate -f <string> -p <string> [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Enable picklist value

USAGE
  $ sfdx leboff:picklists:activate -f <string> -p <string> [-v <string>] [-u <string>] [--apiversion <string>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -f, --field=field                                                                 (required) The custom picklist field

  -p, --value=value                                                                 (required) The custom picklist value
                                                                                    api name

  -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

EXAMPLE
  sfdx leboff:picklists:activate --field Account.Test__c --value TestPickval --targetusername myOrg@example.com

See code: src/commands/leboff/picklists/activate.ts

sfdx leboff:reports:move -f <string> [-n <string>] [-c <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Move reports from one folder to another

USAGE
  $ sfdx leboff:reports:move -f <string> [-n <string>] [-c <string>] [-v <string>] [-u <string>] [--apiversion <string>]
   [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -c, --whereclause=whereclause                                                     Where clause used to find reports to
                                                                                    move

  -f, --foldername=foldername                                                       (required) The developer name of the
                                                                                    folder to move the reports to

  -n, --developername=developername                                                 The developer name of the report to
                                                                                    move

  -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 leboff:reports:move --targetusername myOrg@example.com  --developername My_Report --foldername NewFolder
  sfdx leboff:reports:move --targetusername myOrg@example.com  --whereclause "namepsaceprefix='myns'" --foldername 
  NewFolder

See code: src/commands/leboff/reports/move.ts

sfdx leboff:settings:case:enableemailtocase [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Enable email to case

USAGE
  $ sfdx leboff:settings:case:enableemailtocase [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
   trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -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

EXAMPLE
  sfdx leboff:settings:case:enableemailtocase --targetusername myOrg@example.com

See code: src/commands/leboff/settings/case/enableemailtocase.ts

sfdx leboff:workflows:deactivate [-n <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

Deactivate a Workflow based on API Name

USAGE
  $ sfdx leboff:workflows:deactivate [-n <string>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] 
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -n, --apiname=apiname                                                             The API name of the workflow to
                                                                                    deactivate

  -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

EXAMPLE
  sfdx leboff:workflows:deactivate --targetusername myOrg@example.com  --apiname "Account.My Workflow"

See code: src/commands/leboff/workflows/deactivate.ts

1.10.0

5 months ago

1.9.0

1 year ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago