@decaf-ts/utils
Version:
module management utils for decaf-ts
20 lines (19 loc) • 677 B
text/typescript
import { Command } from "../command.d.cts";
import { DefaultCommandValues } from "../constants.d.cts";
import { LoggingConfig } from "@decaf-ts/logging";
export declare function readGitModules(basePath?: string): string[];
export declare function readGitModulesDeep(basePath?: string, maxTraversal?: number): string[];
declare const options: {
basePath: {
type: string;
default: string;
};
};
export declare class ModulesCommand extends Command<typeof options, void> {
constructor();
protected help(): void;
protected run(answers: LoggingConfig & typeof DefaultCommandValues & {
basePath: string;
}): Promise<void>;
}
export {};