14 lines
650 B
TypeScript
14 lines
650 B
TypeScript
// SPEC: PJ2026-01060703 CI/CD branch follower draft-2026-07-03-p0-branch-follower.
|
|
// Responsibility: thin CI/CD top-level route entry; branch-follower logic lives in responsibility modules.
|
|
import type { UniDeskConfig } from "./config";
|
|
import type { RenderedCliResult } from "./output";
|
|
import { cicdHelp as branchFollowerHelp, runCicdCommand as runBranchFollowerCommand } from "./cicd-branch-follower";
|
|
|
|
export function cicdHelp(): unknown {
|
|
return branchFollowerHelp();
|
|
}
|
|
|
|
export async function runCicdCommand(config: UniDeskConfig | null, args: string[]): Promise<RenderedCliResult> {
|
|
return await runBranchFollowerCommand(config, args);
|
|
}
|