@decaf-ts/utils
Version:
module management utils for decaf-ts
36 lines (35 loc) • 1.09 kB
text/typescript
import { LoggingConfig } from "@decaf-ts/logging";
import { Command } from "../command.d.mts";
import { DefaultCommandValues } from "../constants.d.mts";
export interface RepoEntry {
source_url: string;
https_url: string;
source_host: string;
source_owner: string;
repo_name: string;
display_name: string;
source_host_secret: string;
source_owner_secret: string;
target_owner: string;
target_repo: string;
target_host: string;
target_owner_secret: string;
target_owner_fallback_secret: string;
target_host_secret: string;
recursive: boolean;
}
export declare function parseRepo(rawUrl: string, targetOwner: string, targetHost: string, recursive?: boolean): RepoEntry;
declare const options: {
banner: {
type: "boolean";
default: boolean;
};
};
export declare class CompileMatrixCommand extends Command<typeof options, void> {
constructor();
protected help(): void;
protected run(_answers: LoggingConfig & typeof DefaultCommandValues & {
banner: unknown;
}): Promise<void>;
}
export {};