@flowscripter/dynamic-cli-framework
    Preparing search index...

    Interface Context

    interface Context {
        cliConfig: CLIConfig;
        isTty: { stderr: boolean; stdin: boolean; stdout: boolean };
        doesServiceExist(id: string): boolean;
        getServiceById(id: string): unknown;
    }
    Index
    cliConfig: CLIConfig

    The CLIConfig in use by the CLI.

    isTty: { stderr: boolean; stdin: boolean; stdout: boolean }

    Whether each of the standard streams of the running process is attached to a TTY.

    • Check if the specified service exists in the context.

      Parameters

      • id: string

        the ID of the desired service.

      Returns boolean

    • Return the service identified by the specified ID.

      Parameters

      • id: string

        the ID of the service to retrieve.

      Returns unknown