A utility class for managing user configuration settings when using the 'commander' package to create CLI's.

Hierarchy

  • Config

Constructors

  • Creates a new Config instance.

    Parameters

    • appAuthor: string

      The name of the author of the application.

    • appName: string

      The name of the application.

    • definitions: Record<string, IConfigSetting>

      Objects that define each setting of the user config.

    Returns Config

Properties

data: AppData<Record<string, any>, Record<string, any>>

An AppData instance that manages both an appdata file, a user config file and a log file.

definitions: IConfigSettings

Objects that define each setting of the user config.

Accessors

Methods

Generated using TypeDoc