@villedemontreal/scripting
Version:
Scripting core utilities
29 lines • 940 B
TypeScript
import { Program } from '@villedemontreal/caporal';
export declare class Configs {
/**
* The library root. When this library is used
* as a dependency in a project, the "libRoot"
* will be the path to the dependency folder,
* inside the "node_modules".
*/
libRoot: string;
isWindows: boolean;
private projectRootVar;
private projectOutDirVar;
private caporalVar;
constructor();
/**
* The proper Caporal instance to use in the code!
* It is on this instance that commands and options
* have been registered.
*/
get caporal(): Program;
setCaporal(caporal: Program): void;
get projectRoot(): string;
setProjectRoot(projectRoot: string): void;
get projectOutDir(): string;
setProjectOutDir(projectOutDir: string): void;
findModulePath(subPath: string): string;
}
export declare const configs: Configs;
//# sourceMappingURL=configs.d.ts.map