screeps-api
    Preparing search index...

    Interface LoadConfigOptions

    interface LoadConfigOptions {
        app?: string | Partial<ScreepsAppConfig>;
        file?: string;
    }
    Index

    Properties

    Properties

    app?: string | Partial<ScreepsAppConfig>

    If this is a string and a YAML credential file is used, ScreepsClientConfig will be pulled from the configs[app] key in that file.

    file?: string

    Specifies the path of the screeps YAML or JSON credential file to use. If defined, this takes precedence over the SCREEPS_CONFIG env var.