UNPKG

@bluecadet/launchpad-cli

Version:
12 lines 697 B
import { type Logger } from "@bluecadet/launchpad-utils"; import { ResultAsync } from "neverthrow"; import type { LaunchpadArgv } from "../cli.js"; import { ConfigError } from "../errors.js"; import { type ResolvedLaunchpadOptions } from "../launchpad-config.js"; export declare function loadConfigAndEnv(argv: LaunchpadArgv): ResultAsync<{ dir: string; config: ResolvedLaunchpadOptions; }, ConfigError>; export declare function initializeLogger(config: ResolvedLaunchpadOptions, cwd?: string): import("neverthrow").Ok<import("winston").Logger, never>; export declare function handleFatalError(error: Error, rootLogger: Logger | Console): never; //# sourceMappingURL=command-utils.d.ts.map