diff --git a/classes/SfCommandError.SfCommandError.html b/classes/SfCommandError.SfCommandError.html index 009a924f..d5b3627a 100644 --- a/classes/SfCommandError.SfCommandError.html +++ b/classes/SfCommandError.SfCommandError.html @@ -1,4 +1,4 @@ -SfCommandError | @salesforce/sf-plugins-core

Hierarchy

  • SfError
    • SfCommandError

Properties

commandName +SfCommandError | @salesforce/sf-plugins-core

Hierarchy

  • SfError
    • SfCommandError

Properties

commandName: string
oclif: {
    exit: number;
}
result?: unknown
skipOclifErrorHandling: boolean
status: number
warnings?: (string | StructuredMessage)[]

Methods

+

Properties

commandName: string
oclif: {
    exit: number;
}
result?: unknown
skipOclifErrorHandling: boolean
status: number
warnings?: (string | StructuredMessage)[]

Methods

diff --git a/classes/sfCommand.SfCommand-1.html b/classes/sfCommand.SfCommand-1.html index 6138dbeb..cc984ef2 100644 --- a/classes/sfCommand.SfCommand-1.html +++ b/classes/sfCommand.SfCommand-1.html @@ -17,7 +17,7 @@
import { SfCommand } from '@salesforce/sf-plugins-core';
export type MyJsonOutput = { success: boolean };
export default class MyCommand extends SfCommand<MyJsonOutput> {
public async run(): Promise<MyJsonOutput> {
return { success: true };
}
}
-

Type Parameters

Hierarchy

Constructors

Type Parameters

  • T

Hierarchy

  • Command
    • SfCommand

Constructors

Properties

Constructors

Properties

configAggregator: ConfigAggregator

ConfigAggregator instance for accessing global and local configuration.

-
progress: Progress

Add a progress bar to the console. Progress

-
project?: SfProject
spinner: Spinner

Add a spinner to the console. Spinner

-
baseFlags: {
    flags-dir: OptionFlag<undefined | string, CustomOptions>;
} = ...
configurationVariablesSection?: HelpSection

Add a CONFIGURATION VARIABLES section to the help output.

+

Constructors

Properties

configAggregator: ConfigAggregator

ConfigAggregator instance for accessing global and local configuration.

+
progress: Progress

Add a progress bar to the console. Progress

+
project?: SfProject
spinner: Spinner

Add a spinner to the console. Spinner

+
baseFlags: {
    flags-dir: OptionFlag<undefined | string, CustomOptions>;
} = ...
configurationVariablesSection?: HelpSection

Add a CONFIGURATION VARIABLES section to the help output.

import { SfCommand, toHelpSection } from '@salesforce/sf-plugins-core';
import { OrgConfigProperties } from '@salesforce/core';
export default class MyCommand extends SfCommand {
public static configurationVariablesSection = toHelpSection(
'CONFIGURATION VARIABLES',
OrgConfigProperties.TARGET_ORG,
OrgConfigProperties.ORG_API_VERSION,
);
}
-
enableJsonFlag: boolean = true
envVariablesSection?: HelpSection

Add an Environment VARIABLES section to the help output.

+
enableJsonFlag: boolean = true
envVariablesSection?: HelpSection

Add an Environment VARIABLES section to the help output.

import { SfCommand, toHelpSection } from '@salesforce/sf-plugins-core';
import { EnvironmentVariable } from '@salesforce/core';
export default class MyCommand extends SfCommand {
public static envVariablesSection = toHelpSection(
'ENVIRONMENT VARIABLES',
EnvironmentVariable.SF_TARGET_ORG,
EnvironmentVariable.SF_USE_PROGRESS_BAR,
);
}
-
errorCodes?: HelpSection

Add an ERROR CODES section to the help output.

+
errorCodes?: HelpSection

Add an ERROR CODES section to the help output.

import { SfCommand, toHelpSection } from '@salesforce/sf-plugins-core';
export default class MyCommand extends SfCommand {
public static errorCodes = toHelpSection(
'ERROR CODES',
{ 0: 'Success', 1: 'Failure' },
);
}
-
requiresProject: boolean

Set to true if the command must be executed inside a Salesforce project directory.

+
requiresProject: boolean

Set to true if the command must be executed inside a Salesforce project directory.

If set to true the command will throw an error if the command is executed outside of a Salesforce project directory. Additionally, this.project will be set to the current Salesforce project (SfProject).

-

Methods

  • Prompt user for yes/no confirmation. +

Methods

  • Prompt user for yes/no confirmation. Avoid calling in --json scenarios and always provide a --no-prompt option for scripting

    -

    Parameters

    Returns Promise<boolean>

  • Determine if the command is being run with the --json flag in a command that supports it.

    +

Returns void

  • Determine if the command is being run with the --json flag in a command that supports it.

    Returns boolean

    true if the command supports json and the --json flag is present

    -
  • Parameters

    • json: unknown

    Returns void

  • Warn user about sensitive information (access tokens, etc...) before logging to the console.

    +
  • Parameters

    • json: unknown

    Returns void

  • Warn user about sensitive information (access tokens, etc...) before logging to the console.

    Parameters

    • Optionalmsg: string

      The message to log.

      -

    Returns void

  • Log a success message that has the standard success message color applied.

    +

Returns void

  • Log a success message that has the standard success message color applied.

    Parameters

    • message: string

      The message to log.

      -

    Returns void

  • actual command run code goes here

    -

    Returns Promise<T>

  • Prompt user for yes/no confirmation. +

Returns void

  • actual command run code goes here

    +

    Returns Promise<T>

  • Prompt user for yes/no confirmation. Avoid calling in --json scenarios and always provide a --no-prompt option for scripting

    -

    Parameters

    Returns Promise<string>

  • Log stylized header to the console. Will automatically be suppressed when --json flag is present.

    +

    Parameters

    Returns Promise<string>

  • Log stylized header to the console. Will automatically be suppressed when --json flag is present.

    Parameters

    • text: string

      the text to display as a header.

      -

    Returns void

  • Log stylized JSON to the console. Will automatically be suppressed when --json flag is present.

    +

Returns void

  • Log stylized JSON to the console. Will automatically be suppressed when --json flag is present.

    Parameters

    • obj: AnyJson

      The JSON to log.

      -

    Returns void

  • Log stylized object to the console. Will automatically be suppressed when --json flag is present.

    +

Returns void

  • Log stylized object to the console. Will automatically be suppressed when --json flag is present.

    Parameters

    • obj: AnyJson

      The object to log.

      -

    Returns void

  • Display a table on the console. Will automatically be suppressed when --json flag is present.

    -

    Type Parameters

    • R extends Record<string, unknown>

    Parameters

    • options: TableOptions<R>

    Returns void

  • Log a stylized url to the console. Will automatically be suppressed when --json flag is present.

    +

Returns void

  • Display a table on the console. Will automatically be suppressed when --json flag is present.

    +

    Type Parameters

    • R extends Record<string, unknown>

    Parameters

    • options: TableOptions<R>

    Returns void

  • Log a stylized url to the console. Will automatically be suppressed when --json flag is present.

    Parameters

    • text: string

      The text to display for the url.

    • uri: string

      The url to display.

      -
    • params: {} = {}

      Returns void

    • Log warning to users. If --json is enabled, then the warning will be added to the json output under the warnings property.

      +
    • params: {} = {}

      Returns void

      +

      Returns Warning

      diff --git a/classes/ux_base.UxBase.html b/classes/ux_base.UxBase.html index c850bb23..11719feb 100644 --- a/classes/ux_base.UxBase.html +++ b/classes/ux_base.UxBase.html @@ -1,3 +1,3 @@ -UxBase | @salesforce/sf-plugins-core

      Hierarchy (view full)

      Constructors

      constructor +UxBase | @salesforce/sf-plugins-core

      Hierarchy (view full)

      Constructors

      Properties

      Constructors

      Properties

      outputEnabled: boolean
      +

      Constructors

      Properties

      outputEnabled: boolean
      diff --git a/classes/ux_progress.Progress-1.html b/classes/ux_progress.Progress-1.html index 402e727c..7cc956ed 100644 --- a/classes/ux_progress.Progress-1.html +++ b/classes/ux_progress.Progress-1.html @@ -1,14 +1,14 @@ Progress | @salesforce/sf-plugins-core

      Class for display a progress bar to the console. Will automatically be suppressed if the --json flag is present.

      -

      Hierarchy (view full)

      Constructors

      Hierarchy (view full)

      Constructors

      Properties

      Methods

      Constructors

      Properties

      outputEnabled: boolean

      Methods

      • Update the progress bar with the final number and stop it.

        -

        Parameters

        • payload: {} = {}

          Returns void

        • Set the total number of expected components.

          -

          Parameters

          • total: number

          Returns void

        • Start the progress bar.

          -

          Parameters

          • total: number
          • payload: Payload = {}
          • options: Partial<Options> = Progress.DEFAULT_OPTIONS

          Returns void

        • Update the progress bar.

          -

          Parameters

          • num: number
          • payload: {} = {}

            Returns void

          +

          Constructors

          Properties

          outputEnabled: boolean

          Methods

          • Update the progress bar with the final number and stop it.

            +

            Parameters

            • payload: {} = {}

              Returns void

            • Set the total number of expected components.

              +

              Parameters

              • total: number

              Returns void

            • Start the progress bar.

              +

              Parameters

              • total: number
              • payload: Payload = {}
              • options: Partial<Options> = Progress.DEFAULT_OPTIONS

              Returns void

            • Update the progress bar.

              +

              Parameters

              • num: number
              • payload: {} = {}

                Returns void

              diff --git a/classes/ux_spinner.Spinner.html b/classes/ux_spinner.Spinner.html index cf796216..f2dcf017 100644 --- a/classes/ux_spinner.Spinner.html +++ b/classes/ux_spinner.Spinner.html @@ -1,14 +1,14 @@ Spinner | @salesforce/sf-plugins-core

              This class is a light wrapper around ux.action that allows us to automatically suppress any actions if --json flag is present.

              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Accessors

              Methods

              Constructors

              Properties

              outputEnabled: boolean

              Accessors

              • get status(): undefined | string
              • Get the status of the current spinner.

                -

                Returns undefined | string

              • set status(status): void
              • Set the status of the current spinner.

                -

                Parameters

                • status: undefined | string

                Returns void

              Methods

              • Pause the spinner on the console.

                -

                Parameters

                • fn: (() => unknown)
                    • (): unknown
                    • Returns unknown

                • Optionalicon: string

                Returns void

              • Start a spinner on the console.

                -

                Parameters

                • action: string
                • Optionalstatus: string
                • Optionalopts: {
                      stdout?: boolean;
                  }
                  • Optionalstdout?: boolean

                Returns void

              • Stop the spinner on the console.

                -

                Parameters

                • Optionalmsg: string

                Returns void

              +

              Constructors

              Properties

              outputEnabled: boolean

              Accessors

              • get status(): undefined | string
              • Get the status of the current spinner.

                +

                Returns undefined | string

              • set status(status): void
              • Set the status of the current spinner.

                +

                Parameters

                • status: undefined | string

                Returns void

              Methods

              • Pause the spinner on the console.

                +

                Parameters

                • fn: (() => unknown)
                    • (): unknown
                    • Returns unknown

                • Optionalicon: string

                Returns void

              • Start a spinner on the console.

                +

                Parameters

                • action: string
                • Optionalstatus: string
                • Optionalopts: {
                      stdout?: boolean;
                  }
                  • Optionalstdout?: boolean

                Returns void

              • Stop the spinner on the console.

                +

                Parameters

                • Optionalmsg: string

                Returns void

              diff --git a/classes/ux_ux.Ux.html b/classes/ux_ux.Ux.html index 403a1e51..dccb84be 100644 --- a/classes/ux_ux.Ux.html +++ b/classes/ux_ux.Ux.html @@ -2,7 +2,7 @@
              import { SfCommand, Ux } from '@salesforce/sf-plugins-core';
              import { AnyJson } from '@salesforce/ts-types';

              class MyCommand extends SfCommand<AnyJson> {
              public async run(): Promise<AnyJson> {
              const ux = new Ux(!this.jsonEnabled());
              }
              }
              -

              Hierarchy (view full)

              Constructors

              Hierarchy (view full)

              Constructors

              Properties

              Methods

              log @@ -14,27 +14,27 @@ table url warn -

              Constructors

              • Parameters

                • __namedParameters: {
                      jsonEnabled: boolean;
                  } = ...
                  • jsonEnabled: boolean

                Returns Ux

              Properties

              outputEnabled: boolean
              spinner: Spinner

              Methods

              • Log a message to the console. This will be automatically suppressed if output is disabled.

                +

              Constructors

              • Parameters

                • __namedParameters: {
                      jsonEnabled: boolean;
                  } = ...
                  • jsonEnabled: boolean

                Returns Ux

              Properties

              outputEnabled: boolean
              spinner: Spinner

              Methods

              • Log a message to the console. This will be automatically suppressed if output is disabled.

                Parameters

                • Optionalmessage: string

                  Message to log. Formatting is supported.

                • Rest...args: string[]

                  Args to be used for formatting.

                  -

                Returns void

              • Log a message to stderr. This will be automatically suppressed if output is disabled.

                +

              Returns void

              • Log a message to stderr. This will be automatically suppressed if output is disabled.

                Parameters

                • Optionalmessage: string

                  Message to log. Formatting is supported.

                • Rest...args: string[]

                  Args to be used for formatting.

                  -

                Returns void

              • Return a string rendering of a table.

                +

              Returns void

              • Return a string rendering of a table.

                Type Parameters

                • T extends Record<string, unknown>

                Parameters

                • options: TableOptions<T>

                  Table properties

                Returns string

                string rendering of a table

                -
              • Display stylized header to the console. This will be automatically suppressed if output is disabled.

                +
              • Display stylized header to the console. This will be automatically suppressed if output is disabled.

                Parameters

                • text: string

                  header to display

                  -

                Returns void

              • Display stylized JSON to the console. This will be automatically suppressed if output is disabled.

                +

              Returns void

              • Display stylized JSON to the console. This will be automatically suppressed if output is disabled.

                Parameters

                • obj: AnyJson

                  JSON to display

                  -
                • Optionaltheme: Record<string, string>

                Returns void

              • Display stylized object to the console. This will be automatically suppressed if output is disabled.

                +
              • Optionaltheme: Record<string, string>

              Returns void

              • Display stylized object to the console. This will be automatically suppressed if output is disabled.

                Parameters

                • obj: AnyJson

                  Object to display

                • Optionalkeys: string[]

                  Keys of object to display

                  -

                Returns void

              • Display a table to the console. This will be automatically suppressed if output is disabled.

                +

              Returns void

              • Display a table to the console. This will be automatically suppressed if output is disabled.

                Type Parameters

                • T extends Record<string, unknown>

                Parameters

                • options: TableOptions<T>

                  Table properties

                  -

                Returns void

              • Display a url to the console. This will be automatically suppressed if output is disabled.

                +

              Returns void

              • Display a url to the console. This will be automatically suppressed if output is disabled.

                Parameters

                • text: string

                  text to display

                • uri: string

                  URL link

                  -
                • params: {} = {}

                  Returns void

                • Log a warning message to the console. This will be automatically suppressed if output is disabled.

                  +
                • params: {} = {}

                  Returns void

                  • Log a warning message to the console. This will be automatically suppressed if output is disabled.

                    Parameters

                    • message: string | Error

                      Warning message to log.

                      -

                    Returns void

                  +

                  Returns void

                  diff --git a/functions/compatibility.arrayWithDeprecation.html b/functions/compatibility.arrayWithDeprecation.html index b73b1004..c2daf7d9 100644 --- a/functions/compatibility.arrayWithDeprecation.html +++ b/functions/compatibility.arrayWithDeprecation.html @@ -1,2 +1,2 @@ arrayWithDeprecation | @salesforce/sf-plugins-core

                  @deprecated. Use multiple: true with delimiter: ',' instead

                  -
                  +
                  diff --git a/functions/errorFormatting.formatError.html b/functions/errorFormatting.formatError.html index 2c350817..478df3f2 100644 --- a/functions/errorFormatting.formatError.html +++ b/functions/errorFormatting.formatError.html @@ -1 +1 @@ -formatError | @salesforce/sf-plugins-core
                  +formatError | @salesforce/sf-plugins-core
                  diff --git a/functions/errorHandling.computeErrorCode.html b/functions/errorHandling.computeErrorCode.html index 8ce38cb9..6204291a 100644 --- a/functions/errorHandling.computeErrorCode.html +++ b/functions/errorHandling.computeErrorCode.html @@ -8,4 +8,4 @@
                • use the process exitCode
                • default to 1
                • -
                  +
                  diff --git a/functions/errorHandling.errorIsGack.html b/functions/errorHandling.errorIsGack.html index 4feb0cb1..74bf3c27 100644 --- a/functions/errorHandling.errorIsGack.html +++ b/functions/errorHandling.errorIsGack.html @@ -1,2 +1,2 @@ errorIsGack | @salesforce/sf-plugins-core

                  identifies gacks via regex. Searches the error message, stack, and recursively checks the cause chain

                  -
                  • Parameters

                    • error: Error | SfError<AnyJson>

                    Returns boolean

                  +
                  diff --git a/functions/errorHandling.errorIsTypeError.html b/functions/errorHandling.errorIsTypeError.html index 565e6746..c0e7078d 100644 --- a/functions/errorHandling.errorIsTypeError.html +++ b/functions/errorHandling.errorIsTypeError.html @@ -1,2 +1,2 @@ errorIsTypeError | @salesforce/sf-plugins-core

                  identifies TypeError. Searches the error message, stack, and recursively checks the cause chain

                  -
                  • Parameters

                    • error: Error | SfError<AnyJson>

                    Returns boolean

                  +
                  diff --git a/functions/flags_duration.durationFlag.html b/functions/flags_duration.durationFlag.html index f3a8f158..02a474ae 100644 --- a/functions/flags_duration.durationFlag.html +++ b/functions/flags_duration.durationFlag.html @@ -4,4 +4,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  wait: Flags.duration({
                  min: 1,
                  unit: 'minutes'
                  defaultValue: 33,
                  char: 'w',
                  description: 'Wait time in minutes'
                  }),
                  }
                  -
                  +
                  diff --git a/functions/flags_orgApiVersion.orgApiVersionFlag.html b/functions/flags_orgApiVersion.orgApiVersionFlag.html index ef3200c9..4a4a13fd 100644 --- a/functions/flags_orgApiVersion.orgApiVersionFlag.html +++ b/functions/flags_orgApiVersion.orgApiVersionFlag.html @@ -6,4 +6,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  'api-version': Flags.orgApiVersion({
                  char: 'a',
                  description: 'api version for the org'
                  }),
                  }
                  -
                  +
                  diff --git a/functions/flags_orgFlags.getHubOrThrow.html b/functions/flags_orgFlags.getHubOrThrow.html index 29481862..9128e9d3 100644 --- a/functions/flags_orgFlags.getHubOrThrow.html +++ b/functions/flags_orgFlags.getHubOrThrow.html @@ -1 +1 @@ -getHubOrThrow | @salesforce/sf-plugins-core
                  • Parameters

                    • OptionalaliasOrUsername: string

                    Returns Promise<Org>

                  +getHubOrThrow | @salesforce/sf-plugins-core
                  • Parameters

                    • OptionalaliasOrUsername: string

                    Returns Promise<Org>

                  diff --git a/functions/flags_orgFlags.getOrgOrThrow.html b/functions/flags_orgFlags.getOrgOrThrow.html index da718ccc..03c72d31 100644 --- a/functions/flags_orgFlags.getOrgOrThrow.html +++ b/functions/flags_orgFlags.getOrgOrThrow.html @@ -1 +1 @@ -getOrgOrThrow | @salesforce/sf-plugins-core
                  • Parameters

                    • Optionalinput: string

                    Returns Promise<Org>

                  +getOrgOrThrow | @salesforce/sf-plugins-core
                  • Parameters

                    • Optionalinput: string

                    Returns Promise<Org>

                  diff --git a/functions/flags_orgFlags.maybeGetHub.html b/functions/flags_orgFlags.maybeGetHub.html index 51d8a358..1f01faa8 100644 --- a/functions/flags_orgFlags.maybeGetHub.html +++ b/functions/flags_orgFlags.maybeGetHub.html @@ -1 +1 @@ -maybeGetHub | @salesforce/sf-plugins-core
                  • Parameters

                    • Optionalinput: string

                    Returns Promise<undefined | Org>

                  +maybeGetHub | @salesforce/sf-plugins-core
                  • Parameters

                    • Optionalinput: string

                    Returns Promise<undefined | Org>

                  diff --git a/functions/flags_orgFlags.maybeGetOrg.html b/functions/flags_orgFlags.maybeGetOrg.html index 6072896b..193ba3f6 100644 --- a/functions/flags_orgFlags.maybeGetOrg.html +++ b/functions/flags_orgFlags.maybeGetOrg.html @@ -1 +1 @@ -maybeGetOrg | @salesforce/sf-plugins-core
                  • Parameters

                    • input: string

                    Returns Promise<Org>

                  • Parameters

                    • input: undefined

                    Returns Promise<undefined>

                  • Parameters

                    • Optionalinput: string

                    Returns Promise<Org | undefined>

                  +maybeGetOrg | @salesforce/sf-plugins-core
                  • Parameters

                    • input: string

                    Returns Promise<Org>

                  • Parameters

                    • input: undefined

                    Returns Promise<undefined>

                  • Parameters

                    • Optionalinput: string

                    Returns Promise<Org | undefined>

                  diff --git a/functions/flags_orgFlags.optionalHubFlag.html b/functions/flags_orgFlags.optionalHubFlag.html index 19fbb214..d296be1e 100644 --- a/functions/flags_orgFlags.optionalHubFlag.html +++ b/functions/flags_orgFlags.optionalHubFlag.html @@ -5,4 +5,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  // setting length or prefix
                  'target-org': optionalHubFlag(),
                  // adding properties
                  'flag2': optionalHubFlag({
                  description: 'flag2 description',
                  char: 'h'
                  }),
                  }
                  -
                  +
                  diff --git a/functions/flags_orgFlags.optionalOrgFlag.html b/functions/flags_orgFlags.optionalOrgFlag.html index 66c8fe0c..efc2b1d0 100644 --- a/functions/flags_orgFlags.optionalOrgFlag.html +++ b/functions/flags_orgFlags.optionalOrgFlag.html @@ -4,4 +4,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  // setting length or prefix
                  'target-org': Flags.optionalOrg(),
                  // adding properties
                  'flag2': Flags.optionalOrg({
                  required: true,
                  description: 'flag2 description',
                  }),
                  }
                  -
                  +
                  diff --git a/functions/flags_orgFlags.requiredHubFlag.html b/functions/flags_orgFlags.requiredHubFlag.html index 68e35d2c..cf5aed2b 100644 --- a/functions/flags_orgFlags.requiredHubFlag.html +++ b/functions/flags_orgFlags.requiredHubFlag.html @@ -5,4 +5,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  // setting length or prefix
                  'target-org': requiredHub(),
                  // adding properties
                  'flag2': requiredHub({
                  required: true,
                  description: 'flag2 description',
                  char: 'h'
                  }),
                  }
                  -
                  +
                  diff --git a/functions/flags_orgFlags.requiredOrgFlag.html b/functions/flags_orgFlags.requiredOrgFlag.html index 289234f1..2339799d 100644 --- a/functions/flags_orgFlags.requiredOrgFlag.html +++ b/functions/flags_orgFlags.requiredOrgFlag.html @@ -5,4 +5,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  // setting length or prefix
                  'target-org': Flags.requiredOrg(),
                  // adding properties
                  'flag2': Flags.requiredOrg({
                  required: true,
                  description: 'flag2 description',
                  char: 'o'
                  }),
                  }
                  -
                  +
                  diff --git a/functions/flags_salesforceId.salesforceIdFlag.html b/functions/flags_salesforceId.salesforceIdFlag.html index 713a3b89..67ce2ee3 100644 --- a/functions/flags_salesforceId.salesforceIdFlag.html +++ b/functions/flags_salesforceId.salesforceIdFlag.html @@ -2,4 +2,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  // set length or prefix
                  'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
                  // add flag properties
                  'flag2': salesforceId({
                  required: true,
                  description: 'flag2 description',
                  }),
                  // override the character i
                  'flag3': salesforceId({
                  char: 'j',
                  }),
                  }
                  -
                  +
                  diff --git a/functions/stubUx.stubPrompter.html b/functions/stubUx.stubPrompter.html index f5a5f242..7069ee8f 100644 --- a/functions/stubUx.stubPrompter.html +++ b/functions/stubUx.stubPrompter.html @@ -2,4 +2,4 @@

                  Parameters

                  Returns {
                      confirm: SinonStub<[PromptInputs<boolean>], Promise<boolean>>;
                      secret: SinonStub<[PromptInputs<string>], Promise<string>>;
                  }

                  import { stubPrompter } from '@salesforce/sf-plugins-core';
                  let prompterStubs: ReturnType<typeof stubPrompter>;

                  // inside your beforeEach, $$ is a SinonSandbox
                  prompterStubs = stubPrompter($$.SANDBOX);

                  // inside some test
                  expect(prompterStubs.confirm.firstCall.args[0]).to.equal(
                  messages.getMessage('confirmDelete', ['scratch', testOrg.username])
                  );
                  -
                  +
                  diff --git a/functions/stubUx.stubSfCommandUx.html b/functions/stubUx.stubSfCommandUx.html index 0186b442..866d60e2 100644 --- a/functions/stubUx.stubSfCommandUx.html +++ b/functions/stubUx.stubSfCommandUx.html @@ -3,4 +3,4 @@

                  Parameters

                  Returns {
                      info: SinonStub<[input: Info], void>;
                      log: SinonStub<[message?: string, ...args: any[]], void>;
                      logJson: SinonStub<[json: unknown], void>;
                      logSensitive: SinonStub<[msg?: string], void>;
                      logSuccess: SinonStub<[message: string], void>;
                      logToStderr: SinonStub<[message?: string, ...args: any[]], void>;
                      styledHeader: SinonStub<[text: string], void>;
                      styledJSON: SinonStub<[obj: AnyJson], void>;
                      styledObject: SinonStub<[obj: AnyJson], void>;
                      table: SinonStub<[options: TableOptions<Record<string, unknown>>], void>;
                      url: SinonStub<[text: string, uri: string, params: {}], void>;
                      warn: SinonStub<[input: Warning], Warning>;
                  }

                  import { stubSfCommandUx } from '@salesforce/sf-plugins-core';
                  let stubSfCommandUxStubs: ReturnType<typeof stubSfCommandUx>;

                  // inside your beforeEach, $$ is a SinonSandbox
                  cmdStubs = stubSfCommandUx($$.SANDBOX);

                  // inside some test
                  expect(cmdStubs.warn.args.flat()).to.deep.include(`foo`);
                  -
                  +
                  diff --git a/functions/stubUx.stubSpinner.html b/functions/stubUx.stubSpinner.html index d3beb48c..84233809 100644 --- a/functions/stubUx.stubSpinner.html +++ b/functions/stubUx.stubSpinner.html @@ -3,4 +3,4 @@

                  Parameters

                  Returns {
                      start: SinonStub<[action: string, status?: string, opts?: {
                          stdout?: boolean;
                      }], void>;
                      stop: SinonStub<[msg?: string], void>;
                  }

                  import { stubSpinner } from '@salesforce/sf-plugins-core';
                  let spinnerStubs: ReturnType<typeof stubSpinner>;

                  // inside your beforeEach, $$ is a SinonSandbox
                  spinnerStubs = stubSpinner($$.SANDBOX);

                  // inside some test
                  expect(spinnerStubs.callCount).equals(1);
                  -
                  +
                  diff --git a/functions/stubUx.stubUx.html b/functions/stubUx.stubUx.html index 513227cf..028c481e 100644 --- a/functions/stubUx.stubUx.html +++ b/functions/stubUx.stubUx.html @@ -3,4 +3,4 @@

                  Parameters

                  Returns {
                      log: SinonStub<[message?: string, ...args: string[]], void>;
                      styledHeader: SinonStub<[text: string], void>;
                      styledJSON: SinonStub<[obj: AnyJson, theme?: Record<string, string>], void>;
                      styledObject: SinonStub<[obj: AnyJson, keys?: string[]], void>;
                      table: SinonStub<[options: TableOptions<Record<string, unknown>>], void>;
                      url: SinonStub<[text: string, uri: string, params: {}], void>;
                      warn: SinonStub<[message: string | Error], void>;
                  }

                  import { stubUx } from '@salesforce/sf-plugins-core';
                  let stubUxStubs: ReturnType<typeof stubUx>;

                  // inside your beforeEach, $$ is a SinonSandbox
                  stubUxStubs = stubUx($$.SANDBOX);

                  // inside some test
                  expect(stubUxStubs.log.args.flat()).to.deep.include(`foo`);
                  -
                  +
                  diff --git a/functions/util.parseVarArgs.html b/functions/util.parseVarArgs.html index f6a9d4dd..f2f6bf31 100644 --- a/functions/util.parseVarArgs.html +++ b/functions/util.parseVarArgs.html @@ -1 +1 @@ -parseVarArgs | @salesforce/sf-plugins-core
                  • Parameters

                    • args: Record<string, unknown>
                    • argv: string[]

                    Returns Record<string, string | undefined>

                  +parseVarArgs | @salesforce/sf-plugins-core
                  • Parameters

                    • args: Record<string, unknown>
                    • argv: string[]

                    Returns Record<string, string | undefined>

                  diff --git a/functions/util.removeEmpty.html b/functions/util.removeEmpty.html index ec829135..0ea571a2 100644 --- a/functions/util.removeEmpty.html +++ b/functions/util.removeEmpty.html @@ -1 +1 @@ -removeEmpty | @salesforce/sf-plugins-core
                  • Parameters

                    • obj: Record<string, unknown>

                    Returns Record<string, unknown>

                  +removeEmpty | @salesforce/sf-plugins-core
                  • Parameters

                    • obj: Record<string, unknown>

                    Returns Record<string, unknown>

                  diff --git a/functions/util.toHelpSection.html b/functions/util.toHelpSection.html index 43bbc688..174d89b2 100644 --- a/functions/util.toHelpSection.html +++ b/functions/util.toHelpSection.html @@ -2,4 +2,4 @@ Takes a string to be used as section header text and an array of enums that identify the variable or property to be included in the help body.

                  -

                  Parameters

                  Returns HelpSection

                  +

                  Parameters

                  Returns HelpSection

                  diff --git a/functions/ux_prompts.confirm.html b/functions/ux_prompts.confirm.html index ff285750..efb97ce4 100644 --- a/functions/ux_prompts.confirm.html +++ b/functions/ux_prompts.confirm.html @@ -1 +1 @@ -confirm | @salesforce/sf-plugins-core
                  +confirm | @salesforce/sf-plugins-core
                  diff --git a/functions/ux_prompts.secretPrompt.html b/functions/ux_prompts.secretPrompt.html index b8b5dbd9..f367667e 100644 --- a/functions/ux_prompts.secretPrompt.html +++ b/functions/ux_prompts.secretPrompt.html @@ -1 +1 @@ -secretPrompt | @salesforce/sf-plugins-core
                  +secretPrompt | @salesforce/sf-plugins-core
                  diff --git a/functions/ux_styledObject.default.html b/functions/ux_styledObject.default.html index fe2c5cea..b429ea32 100644 --- a/functions/ux_styledObject.default.html +++ b/functions/ux_styledObject.default.html @@ -1 +1 @@ -default | @salesforce/sf-plugins-core
                  +default | @salesforce/sf-plugins-core
                  diff --git a/functions/ux_table.convertToNewTableAPI.html b/functions/ux_table.convertToNewTableAPI.html index a035df8e..078f1c10 100644 --- a/functions/ux_table.convertToNewTableAPI.html +++ b/functions/ux_table.convertToNewTableAPI.html @@ -10,4 +10,4 @@
                • 'print-line'
                • Type Parameters

                  Parameters

                  Returns TableOptions<Record<string, unknown>>

                  Please use the new table API directly.

                  -
                  +
                  diff --git a/functions/ux_table.getDefaults.html b/functions/ux_table.getDefaults.html index ecc1211e..d2687402 100644 --- a/functions/ux_table.getDefaults.html +++ b/functions/ux_table.getDefaults.html @@ -1 +1 @@ -getDefaults | @salesforce/sf-plugins-core
                  • Type Parameters

                    • T extends Record<string, unknown>

                    Parameters

                    • options: TableOptions<T>

                    Returns Partial<TableOptions<T>>

                  +getDefaults | @salesforce/sf-plugins-core
                  • Type Parameters

                    • T extends Record<string, unknown>

                    Parameters

                    • options: TableOptions<T>

                    Returns Partial<TableOptions<T>>

                  diff --git a/modules/SfCommandError.html b/modules/SfCommandError.html index c41934e9..17167d06 100644 --- a/modules/SfCommandError.html +++ b/modules/SfCommandError.html @@ -1,3 +1,3 @@ -SfCommandError | @salesforce/sf-plugins-core

                  Index

                  Classes

                  SfCommandError +SfCommandError | @salesforce/sf-plugins-core
                  diff --git a/modules/compatibility.html b/modules/compatibility.html index b7b5ec33..a0ca9db7 100644 --- a/modules/compatibility.html +++ b/modules/compatibility.html @@ -1,4 +1,4 @@ -compatibility | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  ArrayWithDeprecationOptions +compatibility | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  Variables

                  loglevel optionalHubFlagWithDeprecations optionalOrgFlagWithDeprecations diff --git a/modules/errorFormatting.html b/modules/errorFormatting.html index e8104ec0..19349392 100644 --- a/modules/errorFormatting.html +++ b/modules/errorFormatting.html @@ -1,2 +1,2 @@ -errorFormatting | @salesforce/sf-plugins-core

                  Index

                  Functions

                  formatError +errorFormatting | @salesforce/sf-plugins-core
                  diff --git a/modules/errorHandling.html b/modules/errorHandling.html index 62fd757e..4d3c79bb 100644 --- a/modules/errorHandling.html +++ b/modules/errorHandling.html @@ -1,4 +1,4 @@ -errorHandling | @salesforce/sf-plugins-core

                  Index

                  Functions

                  computeErrorCode +errorHandling | @salesforce/sf-plugins-core
                  diff --git a/modules/exported.html b/modules/exported.html index 703ca94d..44eddc9d 100644 --- a/modules/exported.html +++ b/modules/exported.html @@ -1,4 +1,4 @@ -exported | @salesforce/sf-plugins-core

                  References

                  ArrayWithDeprecationOptions +exported | @salesforce/sf-plugins-core

                  References

                  ArrayWithDeprecationOptions Flags Progress SfCommand diff --git a/modules/flags_duration.html b/modules/flags_duration.html index 7214c21d..892b0705 100644 --- a/modules/flags_duration.html +++ b/modules/flags_duration.html @@ -1,3 +1,3 @@ -flags/duration | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  DurationFlagConfig +flags/duration | @salesforce/sf-plugins-core
                  diff --git a/modules/flags_flags.html b/modules/flags_flags.html index f10658ae..04286776 100644 --- a/modules/flags_flags.html +++ b/modules/flags_flags.html @@ -1,2 +1,2 @@ -flags/flags | @salesforce/sf-plugins-core

                  Index

                  Variables

                  Flags +flags/flags | @salesforce/sf-plugins-core

                  Index

                  Variables

                  diff --git a/modules/flags_orgApiVersion.html b/modules/flags_orgApiVersion.html index 4276f64f..cbfdc2c0 100644 --- a/modules/flags_orgApiVersion.html +++ b/modules/flags_orgApiVersion.html @@ -1,4 +1,4 @@ -flags/orgApiVersion | @salesforce/sf-plugins-core

                  Index

                  Variables

                  maxDeprecated +flags/orgApiVersion | @salesforce/sf-plugins-core

                  Index

                  Variables

                  Functions

                  orgApiVersionFlag diff --git a/modules/flags_orgFlags.html b/modules/flags_orgFlags.html index e8514d3c..29c8b111 100644 --- a/modules/flags_orgFlags.html +++ b/modules/flags_orgFlags.html @@ -1,4 +1,4 @@ -flags/orgFlags | @salesforce/sf-plugins-core

                  Index

                  Functions

                  getHubOrThrow +flags/orgFlags | @salesforce/sf-plugins-core

                  Index

                  Functions

                  getHubOrThrow getOrgOrThrow maybeGetHub maybeGetOrg diff --git a/modules/flags_salesforceId.html b/modules/flags_salesforceId.html index 6628144d..db944328 100644 --- a/modules/flags_salesforceId.html +++ b/modules/flags_salesforceId.html @@ -1,3 +1,3 @@ -flags/salesforceId | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  IdFlagConfig +flags/salesforceId | @salesforce/sf-plugins-core
                  diff --git a/modules/sfCommand.SfCommand.html b/modules/sfCommand.SfCommand.html index 7ef74a47..1be2df27 100644 --- a/modules/sfCommand.SfCommand.html +++ b/modules/sfCommand.SfCommand.html @@ -1,4 +1,4 @@ -SfCommand | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  Error +SfCommand | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  Error Info Json Warning diff --git a/modules/sfCommand.html b/modules/sfCommand.html index bf00a326..3479789a 100644 --- a/modules/sfCommand.html +++ b/modules/sfCommand.html @@ -1,4 +1,4 @@ -sfCommand | @salesforce/sf-plugins-core

                  Index

                  Namespaces

                  SfCommand +sfCommand | @salesforce/sf-plugins-core

                  Index

                  Namespaces

                  Classes

                  Type Aliases

                  diff --git a/modules/stubUx.html b/modules/stubUx.html index 40ed2203..a7d556e1 100644 --- a/modules/stubUx.html +++ b/modules/stubUx.html @@ -1,4 +1,4 @@ -stubUx | @salesforce/sf-plugins-core

                  Index

                  Functions

                  stubPrompter +stubUx | @salesforce/sf-plugins-core

                  Index

                  Functions

                  stubPrompter stubSfCommandUx stubSpinner stubUx diff --git a/modules/util.html b/modules/util.html index b4c9ca8c..eedc3b31 100644 --- a/modules/util.html +++ b/modules/util.html @@ -1,4 +1,4 @@ -util | @salesforce/sf-plugins-core

                  Index

                  Functions

                  parseVarArgs +util | @salesforce/sf-plugins-core
                  diff --git a/modules/ux_base.html b/modules/ux_base.html index f0187945..2e3dd937 100644 --- a/modules/ux_base.html +++ b/modules/ux_base.html @@ -1,2 +1,2 @@ -ux/base | @salesforce/sf-plugins-core

                  Index

                  Classes

                  UxBase +ux/base | @salesforce/sf-plugins-core

                  Index

                  Classes

                  diff --git a/modules/ux_progress.Progress.html b/modules/ux_progress.Progress.html index d6ca3c63..7bb74248 100644 --- a/modules/ux_progress.Progress.html +++ b/modules/ux_progress.Progress.html @@ -1,4 +1,4 @@ -Progress | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  Bar +Progress | @salesforce/sf-plugins-core
                  diff --git a/modules/ux_progress.html b/modules/ux_progress.html index 671e9fa3..84407f1e 100644 --- a/modules/ux_progress.html +++ b/modules/ux_progress.html @@ -1,3 +1,3 @@ -ux/progress | @salesforce/sf-plugins-core

                  Index

                  Namespaces

                  Progress +ux/progress | @salesforce/sf-plugins-core

                  Index

                  Namespaces

                  Classes

                  diff --git a/modules/ux_prompts.html b/modules/ux_prompts.html index ec6db62a..9dc57def 100644 --- a/modules/ux_prompts.html +++ b/modules/ux_prompts.html @@ -1,4 +1,4 @@ -ux/prompts | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  PromptInputs +ux/prompts | @salesforce/sf-plugins-core

                  Index

                  Type Aliases

                  Variables

                  Functions

                  confirm secretPrompt diff --git a/modules/ux_spinner.html b/modules/ux_spinner.html index 1d8d5aae..13ffffce 100644 --- a/modules/ux_spinner.html +++ b/modules/ux_spinner.html @@ -1,2 +1,2 @@ -ux/spinner | @salesforce/sf-plugins-core

                  Index

                  Classes

                  Spinner +ux/spinner | @salesforce/sf-plugins-core
                  diff --git a/modules/ux_standardColors.html b/modules/ux_standardColors.html index 57d9be2a..3272fa87 100644 --- a/modules/ux_standardColors.html +++ b/modules/ux_standardColors.html @@ -1,2 +1,2 @@ -ux/standardColors | @salesforce/sf-plugins-core

                  Index

                  Variables

                  StandardColors +ux/standardColors | @salesforce/sf-plugins-core
                  diff --git a/modules/ux_styledObject.html b/modules/ux_styledObject.html index 68423a27..0d5dac42 100644 --- a/modules/ux_styledObject.html +++ b/modules/ux_styledObject.html @@ -1,2 +1,2 @@ -ux/styledObject | @salesforce/sf-plugins-core

                  Index

                  Functions

                  default +ux/styledObject | @salesforce/sf-plugins-core
                  diff --git a/modules/ux_table.html b/modules/ux_table.html index b88a7a5c..33947853 100644 --- a/modules/ux_table.html +++ b/modules/ux_table.html @@ -1,3 +1,3 @@ -ux/table | @salesforce/sf-plugins-core

                  Index

                  Functions

                  convertToNewTableAPI +ux/table | @salesforce/sf-plugins-core
                  diff --git a/modules/ux_ux.html b/modules/ux_ux.html index 5a50d096..240c864c 100644 --- a/modules/ux_ux.html +++ b/modules/ux_ux.html @@ -1,2 +1,2 @@ -ux/ux | @salesforce/sf-plugins-core

                  Index

                  Classes

                  Ux +ux/ux | @salesforce/sf-plugins-core

                  Index

                  Classes

                  diff --git a/types/SfCommandError.SfCommandErrorOptions.html b/types/SfCommandError.SfCommandErrorOptions.html index aee5245e..6f276018 100644 --- a/types/SfCommandError.SfCommandErrorOptions.html +++ b/types/SfCommandError.SfCommandErrorOptions.html @@ -1 +1 @@ -SfCommandErrorOptions | @salesforce/sf-plugins-core
                  SfCommandErrorOptions<T>: {
                      actions?: string[];
                      cause?: unknown;
                      code: string;
                      commandName: string;
                      context?: string;
                      data?: T;
                      exitCode: number;
                      message: string;
                      name?: string;
                      result?: unknown;
                      warnings?: (StructuredMessage | string)[];
                  }

                  Type Parameters

                  • T extends ErrorDataProperties = ErrorDataProperties
                  +SfCommandErrorOptions | @salesforce/sf-plugins-core
                  SfCommandErrorOptions<T>: {
                      actions?: string[];
                      cause?: unknown;
                      code: string;
                      commandName: string;
                      context?: string;
                      data?: T;
                      exitCode: number;
                      message: string;
                      name?: string;
                      result?: unknown;
                      warnings?: (StructuredMessage | string)[];
                  }

                  Type Parameters

                  • T extends ErrorDataProperties = ErrorDataProperties
                  diff --git a/types/compatibility.ArrayWithDeprecationOptions.html b/types/compatibility.ArrayWithDeprecationOptions.html index 7b29154f..c501d956 100644 --- a/types/compatibility.ArrayWithDeprecationOptions.html +++ b/types/compatibility.ArrayWithDeprecationOptions.html @@ -1 +1 @@ -ArrayWithDeprecationOptions | @salesforce/sf-plugins-core
                  ArrayWithDeprecationOptions: {
                      multiple?: true;
                      parse?: undefined;
                  }
                  +ArrayWithDeprecationOptions | @salesforce/sf-plugins-core
                  ArrayWithDeprecationOptions: {
                      multiple?: true;
                      parse?: undefined;
                  }
                  diff --git a/types/flags_duration.DurationFlagConfig.html b/types/flags_duration.DurationFlagConfig.html index 7130b9a7..ecbbcf60 100644 --- a/types/flags_duration.DurationFlagConfig.html +++ b/types/flags_duration.DurationFlagConfig.html @@ -1 +1 @@ -DurationFlagConfig | @salesforce/sf-plugins-core
                  DurationFlagConfig: {
                      defaultValue?: number;
                      max?: number;
                      min?: number;
                      unit: Required<DurationUnit>;
                  }
                  +DurationFlagConfig | @salesforce/sf-plugins-core
                  DurationFlagConfig: {
                      defaultValue?: number;
                      max?: number;
                      min?: number;
                      unit: Required<DurationUnit>;
                  }
                  diff --git a/types/flags_salesforceId.IdFlagConfig.html b/types/flags_salesforceId.IdFlagConfig.html index 2f4b0f89..4c98a635 100644 --- a/types/flags_salesforceId.IdFlagConfig.html +++ b/types/flags_salesforceId.IdFlagConfig.html @@ -1,3 +1,3 @@ IdFlagConfig | @salesforce/sf-plugins-core
                  IdFlagConfig: {
                      length?: 15 | 18 | "both";
                      startsWith?: string;
                  }

                  Type declaration

                  • Optionallength?: 15 | 18 | "both"

                    Can specify if the version must be 15 or 18 characters long or 'both'. Leave blank to allow either 15 or 18.

                  • OptionalstartsWith?: string

                    If the ID belongs to a certain sobject type, specify the 3 character prefix.

                    -
                  +
                  diff --git a/types/sfCommand.SfCommand.Error.html b/types/sfCommand.SfCommand.Error.html index 63919bc2..66cbf030 100644 --- a/types/sfCommand.SfCommand.Error.html +++ b/types/sfCommand.SfCommand.Error.html @@ -1 +1 @@ -Error | @salesforce/sf-plugins-core
                  +Error | @salesforce/sf-plugins-core
                  diff --git a/types/sfCommand.SfCommand.Info.html b/types/sfCommand.SfCommand.Info.html index a043c989..71fdaf5e 100644 --- a/types/sfCommand.SfCommand.Info.html +++ b/types/sfCommand.SfCommand.Info.html @@ -1 +1 @@ -Info | @salesforce/sf-plugins-core
                  Info: StructuredMessage | string
                  +Info | @salesforce/sf-plugins-core
                  Info: StructuredMessage | string
                  diff --git a/types/sfCommand.SfCommand.Json.html b/types/sfCommand.SfCommand.Json.html index 6e86bdd4..e9a329ee 100644 --- a/types/sfCommand.SfCommand.Json.html +++ b/types/sfCommand.SfCommand.Json.html @@ -1 +1 @@ -Json | @salesforce/sf-plugins-core
                  Json<T>: {
                      result: T;
                      status: number;
                      warnings?: Warning[];
                  }

                  Type Parameters

                  • T
                  +Json | @salesforce/sf-plugins-core
                  Json<T>: {
                      result: T;
                      status: number;
                      warnings?: Warning[];
                  }

                  Type Parameters

                  • T
                  diff --git a/types/sfCommand.SfCommand.Warning.html b/types/sfCommand.SfCommand.Warning.html index d9e043d6..81de9794 100644 --- a/types/sfCommand.SfCommand.Warning.html +++ b/types/sfCommand.SfCommand.Warning.html @@ -1 +1 @@ -Warning | @salesforce/sf-plugins-core
                  Warning: StructuredMessage | string
                  +Warning | @salesforce/sf-plugins-core
                  Warning: StructuredMessage | string
                  diff --git a/types/sfCommand.SfCommandInterface.html b/types/sfCommand.SfCommandInterface.html index d70ea1fe..6dfa5f88 100644 --- a/types/sfCommand.SfCommandInterface.html +++ b/types/sfCommand.SfCommandInterface.html @@ -1 +1 @@ -SfCommandInterface | @salesforce/sf-plugins-core
                  SfCommandInterface: {
                      configurationVariablesSection?: HelpSection;
                      envVariablesSection?: HelpSection;
                      errorCodes?: HelpSection;
                  } & Command.Class
                  +SfCommandInterface | @salesforce/sf-plugins-core
                  SfCommandInterface: {
                      configurationVariablesSection?: HelpSection;
                      envVariablesSection?: HelpSection;
                      errorCodes?: HelpSection;
                  } & Command.Class
                  diff --git a/types/ux_progress.Progress.Bar.html b/types/ux_progress.Progress.Bar.html index 0590df51..9389154d 100644 --- a/types/ux_progress.Progress.Bar.html +++ b/types/ux_progress.Progress.Bar.html @@ -1 +1 @@ -Bar | @salesforce/sf-plugins-core
                  Bar: {
                      setTotal: ((num: number) => void);
                      start: ((total: number, startValue: number, payload?: object) => void);
                      stop: (() => void);
                      update: ((num: number, payload?: object) => void);
                  }
                  +Bar | @salesforce/sf-plugins-core
                  Bar: {
                      setTotal: ((num: number) => void);
                      start: ((total: number, startValue: number, payload?: object) => void);
                      stop: (() => void);
                      update: ((num: number, payload?: object) => void);
                  }
                  diff --git a/types/ux_progress.Progress.Options.html b/types/ux_progress.Progress.Options.html index c30e495b..b18eb978 100644 --- a/types/ux_progress.Progress.Options.html +++ b/types/ux_progress.Progress.Options.html @@ -1 +1 @@ -Options | @salesforce/sf-plugins-core
                  Options: {
                      barCompleteChar: string;
                      barIncompleteChar: string;
                      format: string;
                      linewrap: boolean;
                      noTTYOutput: boolean;
                      title: string;
                  }
                  +Options | @salesforce/sf-plugins-core
                  Options: {
                      barCompleteChar: string;
                      barIncompleteChar: string;
                      format: string;
                      linewrap: boolean;
                      noTTYOutput: boolean;
                      title: string;
                  }
                  diff --git a/types/ux_progress.Progress.Payload.html b/types/ux_progress.Progress.Payload.html index c70d9723..773b0ece 100644 --- a/types/ux_progress.Progress.Payload.html +++ b/types/ux_progress.Progress.Payload.html @@ -1 +1 @@ -Payload | @salesforce/sf-plugins-core
                  Payload: Record<string, unknown>
                  +Payload | @salesforce/sf-plugins-core
                  Payload: Record<string, unknown>
                  diff --git a/types/ux_prompts.PromptInputs.html b/types/ux_prompts.PromptInputs.html index 575a4c41..71b47ac1 100644 --- a/types/ux_prompts.PromptInputs.html +++ b/types/ux_prompts.PromptInputs.html @@ -1,4 +1,4 @@ PromptInputs | @salesforce/sf-plugins-core
                  PromptInputs<T>: {
                      defaultAnswer?: T;
                      message: string;
                      ms?: number;
                  }

                  Type Parameters

                  • T

                  Type declaration

                  • OptionaldefaultAnswer?: T

                    default value to offer to the user. Will be used if the user does not respond within the timeout period.

                  • message: string

                    text to display. Do not include a question mark

                  • Optionalms?: number

                    after this many ms, the prompt will time out. If a default value is provided, the default will be used. Otherwise the prompt will throw an error

                    -
                  +
                  diff --git a/variables/compatibility.loglevel.html b/variables/compatibility.loglevel.html index e9944ba7..d1154cd9 100644 --- a/variables/compatibility.loglevel.html +++ b/variables/compatibility.loglevel.html @@ -1,4 +1,4 @@ loglevel | @salesforce/sf-plugins-core
                  loglevel: OptionFlag<undefined | string, CustomOptions> = ...

                  Use only for commands that maintain sfdx compatibility. Flag will be hidden and will show a warning if used. Flag does not set the loglevel

                  -
                  +
                  diff --git a/variables/compatibility.optionalHubFlagWithDeprecations.html b/variables/compatibility.optionalHubFlagWithDeprecations.html index b2e1e43c..28fc05df 100644 --- a/variables/compatibility.optionalHubFlagWithDeprecations.html +++ b/variables/compatibility.optionalHubFlagWithDeprecations.html @@ -1 +1 @@ -optionalHubFlagWithDeprecations | @salesforce/sf-plugins-core
                  optionalHubFlagWithDeprecations: OptionFlag<undefined | Org, CustomOptions> = ...
                  +optionalHubFlagWithDeprecations | @salesforce/sf-plugins-core
                  optionalHubFlagWithDeprecations: OptionFlag<undefined | Org, CustomOptions> = ...
                  diff --git a/variables/compatibility.optionalOrgFlagWithDeprecations.html b/variables/compatibility.optionalOrgFlagWithDeprecations.html index 16775c2f..bd1b61ff 100644 --- a/variables/compatibility.optionalOrgFlagWithDeprecations.html +++ b/variables/compatibility.optionalOrgFlagWithDeprecations.html @@ -1 +1 @@ -optionalOrgFlagWithDeprecations | @salesforce/sf-plugins-core
                  optionalOrgFlagWithDeprecations: OptionFlag<Org, CustomOptions> = ...
                  +optionalOrgFlagWithDeprecations | @salesforce/sf-plugins-core
                  optionalOrgFlagWithDeprecations: OptionFlag<Org, CustomOptions> = ...
                  diff --git a/variables/compatibility.orgApiVersionFlagWithDeprecations.html b/variables/compatibility.orgApiVersionFlagWithDeprecations.html index 35bacb11..56d0aaaa 100644 --- a/variables/compatibility.orgApiVersionFlagWithDeprecations.html +++ b/variables/compatibility.orgApiVersionFlagWithDeprecations.html @@ -3,4 +3,4 @@
                  import { Flags } from '@salesforce/sf-plugins-core';
                  public static flags = {
                  'api-version': Flags.orgApiVersion({
                  char: 'a',
                  description: 'api version for the org'
                  }),
                  }
                  -
                  +
                  diff --git a/variables/compatibility.requiredHubFlagWithDeprecations.html b/variables/compatibility.requiredHubFlagWithDeprecations.html index 29c3cbcd..a4e20f6c 100644 --- a/variables/compatibility.requiredHubFlagWithDeprecations.html +++ b/variables/compatibility.requiredHubFlagWithDeprecations.html @@ -1 +1 @@ -requiredHubFlagWithDeprecations | @salesforce/sf-plugins-core
                  requiredHubFlagWithDeprecations: OptionFlag<Org, CustomOptions> = ...
                  +requiredHubFlagWithDeprecations | @salesforce/sf-plugins-core
                  requiredHubFlagWithDeprecations: OptionFlag<Org, CustomOptions> = ...
                  diff --git a/variables/compatibility.requiredOrgFlagWithDeprecations.html b/variables/compatibility.requiredOrgFlagWithDeprecations.html index 97ea2584..bb739d1d 100644 --- a/variables/compatibility.requiredOrgFlagWithDeprecations.html +++ b/variables/compatibility.requiredOrgFlagWithDeprecations.html @@ -1 +1 @@ -requiredOrgFlagWithDeprecations | @salesforce/sf-plugins-core
                  requiredOrgFlagWithDeprecations: OptionFlag<Org, CustomOptions> = ...
                  +requiredOrgFlagWithDeprecations | @salesforce/sf-plugins-core
                  requiredOrgFlagWithDeprecations: OptionFlag<Org, CustomOptions> = ...
                  diff --git a/variables/flags_flags.Flags.html b/variables/flags_flags.Flags.html index 13d5a334..3cd1673a 100644 --- a/variables/flags_flags.Flags.html +++ b/variables/flags_flags.Flags.html @@ -11,4 +11,4 @@

                  Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>[], P>> & {} & ({} | {})

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                  export default class MyCommand extends Command {
                  static flags = {
                  name: Flags.option({
                  options: ['foo', 'bar'] as const,
                  })(),
                  }
                  }
                  -
                • <T, P>(defaults): FlagDefinition<typeof defaults.options[number], P, {}>
                • Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>, P>> & {} & ({} | {})

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                • <T, P>(defaults): FlagDefinition<typeof defaults.options[number], P, {}>
                • Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>, P>> & {}

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                • <T, P>(defaults): FlagDefinition<typeof defaults.options[number], P, {}>
                • Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>[], P>> & {}

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                • optionalHub: FlagDefinition<Org, CustomOptions, {}>
                • optionalOrg: FlagDefinition<Org, CustomOptions, {}>
                • orgApiVersion: FlagDefinition<string, CustomOptions, {}>
                • requiredHub: FlagDefinition<Org, CustomOptions, {}>
                • requiredOrg: FlagDefinition<Org, CustomOptions, {}>
                • salesforceId: FlagDefinition<string, IdFlagConfig, {}>
                • string: FlagDefinition<string, CustomOptions, {}>
                • url: FlagDefinition<URL, CustomOptions, {}>
                • +
                • <T, P>(defaults): FlagDefinition<typeof defaults.options[number], P, {}>
                • Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>, P>> & {} & ({} | {})

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                • <T, P>(defaults): FlagDefinition<typeof defaults.options[number], P, {}>
                • Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>, P>> & {}

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                • <T, P>(defaults): FlagDefinition<typeof defaults.options[number], P, {}>
                • Type Parameters

                  • T extends readonly string[]
                  • P extends CustomOptions

                  Parameters

                  • defaults: Partial<OptionFlag<ReadonlyElementOf<T>[], P>> & {}

                  Returns FlagDefinition<typeof defaults.options[number], P, {}>

                • optionalHub: FlagDefinition<Org, CustomOptions, {}>
                • optionalOrg: FlagDefinition<Org, CustomOptions, {}>
                • orgApiVersion: FlagDefinition<string, CustomOptions, {}>
                • requiredHub: FlagDefinition<Org, CustomOptions, {}>
                • requiredOrg: FlagDefinition<Org, CustomOptions, {}>
                • salesforceId: FlagDefinition<string, IdFlagConfig, {}>
                • string: FlagDefinition<string, CustomOptions, {}>
                • url: FlagDefinition<URL, CustomOptions, {}>
                • diff --git a/variables/flags_orgApiVersion.maxDeprecated.html b/variables/flags_orgApiVersion.maxDeprecated.html index dd050267..14df7990 100644 --- a/variables/flags_orgApiVersion.maxDeprecated.html +++ b/variables/flags_orgApiVersion.maxDeprecated.html @@ -1 +1 @@ -maxDeprecated | @salesforce/sf-plugins-core
                  maxDeprecated: 30 = 30
                  +maxDeprecated | @salesforce/sf-plugins-core
                  maxDeprecated: 30 = 30
                  diff --git a/variables/flags_orgApiVersion.maxDeprecatedUrl.html b/variables/flags_orgApiVersion.maxDeprecatedUrl.html index 73b89b46..234659b1 100644 --- a/variables/flags_orgApiVersion.maxDeprecatedUrl.html +++ b/variables/flags_orgApiVersion.maxDeprecatedUrl.html @@ -1 +1 @@ -maxDeprecatedUrl | @salesforce/sf-plugins-core
                  maxDeprecatedUrl: "https://help.salesforce.com/s/articleView?id=000354473&type=1;" = 'https://help.salesforce.com/s/articleView?id=000354473&type=1;'
                  +maxDeprecatedUrl | @salesforce/sf-plugins-core
                  maxDeprecatedUrl: "https://help.salesforce.com/s/articleView?id=000354473&type=1;" = 'https://help.salesforce.com/s/articleView?id=000354473&type=1;'
                  diff --git a/variables/flags_orgApiVersion.minValidApiVersion.html b/variables/flags_orgApiVersion.minValidApiVersion.html index b2b16aa3..e81111a2 100644 --- a/variables/flags_orgApiVersion.minValidApiVersion.html +++ b/variables/flags_orgApiVersion.minValidApiVersion.html @@ -1 +1 @@ -minValidApiVersion | @salesforce/sf-plugins-core
                  minValidApiVersion: 21 = 21
                  +minValidApiVersion | @salesforce/sf-plugins-core
                  minValidApiVersion: 21 = 21
                  diff --git a/variables/ux_prompts.prompts.html b/variables/ux_prompts.prompts.html index 11ebd30e..ccd10e64 100644 --- a/variables/ux_prompts.prompts.html +++ b/variables/ux_prompts.prompts.html @@ -1 +1 @@ -prompts | @salesforce/sf-plugins-core
                  prompts: {
                      confirm: ((__namedParameters: PromptInputs<boolean>) => Promise<boolean>);
                      secretPrompt: ((__namedParameters: PromptInputs<string>) => Promise<string>);
                  } = ...
                  +prompts | @salesforce/sf-plugins-core
                  prompts: {
                      confirm: ((__namedParameters: PromptInputs<boolean>) => Promise<boolean>);
                      secretPrompt: ((__namedParameters: PromptInputs<string>) => Promise<string>);
                  } = ...
                  diff --git a/variables/ux_standardColors.StandardColors.html b/variables/ux_standardColors.StandardColors.html index 3518c017..a2984b61 100644 --- a/variables/ux_standardColors.StandardColors.html +++ b/variables/ux_standardColors.StandardColors.html @@ -1 +1 @@ -StandardColors | @salesforce/sf-plugins-core
                  StandardColors: {
                      error: Ansis;
                      info: Ansis;
                      success: Ansis;
                      warning: Ansis;
                  } = ...
                  +StandardColors | @salesforce/sf-plugins-core
                  StandardColors: {
                      error: Ansis;
                      info: Ansis;
                      success: Ansis;
                      warning: Ansis;
                  } = ...