UNPKG

@oclif/core

Version:

base library for oclif CLIs

20 lines (19 loc) 562 B
/** * Call os.homedir() and return the result * * Wrapping this allows us to stub these in tests since os.homedir() is * non-configurable and non-writable. * * @returns The user's home directory */ export declare function getHomeDir(): string; /** * Call os.platform() and return the result * * Wrapping this allows us to stub these in tests since os.platform() is * non-configurable and non-writable. * * @returns The process' platform */ export declare function getPlatform(): 'wsl' | NodeJS.Platform; export declare function getShell(): string;