Global

Methods

createAsciiSeparator(label) → {string}

Creates an ASCII art separator with a centered label.

Parameters:
Name Type Description
label string

The text to be displayed in the center of the separator.

Source:
Returns:

A multi-line string containing the ASCII art separator with the centered label.

Type
string
Example
createAsciiSeparator("Hello")
// Returns:
// ****************************************
// *********       Hello       ***********
// ****************************************

(async) run(argvopt) → {Promise.<void>}

Executes the llm-pack CLI application.

Processes command-line arguments, loads configuration, scans files, formats content, and outputs aggregated results based on the specified options.

Parameters:
Name Type Attributes Default Description
argv Array.<string> <optional>
process.argv.slice(2)

Command-line arguments array.

Source:
Returns:

Resolves when the application has finished running.

Type
Promise.<void>