@salesforce/sf-plugins-core
    Preparing search index...

    Class Progress

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

    Hierarchy (View Summary)

    Index
    outputEnabled: boolean
    • 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