Stone.js API
    Preparing search index...

    Class representing a CommandOutput Facade. Provides utility methods for logging, colored outputs, spinners, and progress bars.

    Index
    format: ChalkInstance

    A formatting library (e.g., chalk).

    • Output a line break.

      Parameters

      • value: number

        The number of newlines to add.

      Returns this

      The current instance for chaining.

    • Output error-colored text.

      Parameters

      • value: string

        The text to display.

      • color: boolean = true

        Whether to color the text. Defaults to true.

      Returns this

      The current instance for chaining.

    • Output info-colored text.

      Parameters

      • value: string

        The text to display.

      • color: boolean = true

        Whether to color the text. Defaults to true.

      Returns this

      The current instance for chaining.

    • Create a progress bar.

      Parameters

      • tokens: string

        The template string for the progress bar.

      • options: ProgressBarOptions

        Configuration options for the progress bar.

      Returns ProgressBar

      A new ProgressBar instance.

    • Output uncolored text.

      Parameters

      • value: string

        The text to display.

      Returns this

      The current instance for chaining.

    • Output a spinner.

      Parameters

      • value: string

        The spinner's initial message. Defaults to null.

      Returns Ora

      The spinner instance started.

    • Creates a spinner instance.

      Parameters

      • value: string

        The spinner's initial message. Defaults to null.

      Returns Ora

      The spinner instance.

    • Output success-colored text.

      Parameters

      • value: string

        The text to display.

      • color: boolean = true

        Whether to color the text. Defaults to true.

      Returns this

      The current instance for chaining.

    • Output a table.

      Parameters

      • value: unknown

        The value to display as a table.

      • Optionalproperties: readonly string[]

      Returns this

      The current instance for chaining.

    • Output warn-colored text.

      Parameters

      • value: string

        The text to display.

      • color: boolean = true

        Whether to color the text. Defaults to true.

      Returns this

      The current instance for chaining.