← Files Cecil-IA Labs FFmpegARCHIVED FILE

dist/cli/actions/shared.d.ts

634 Bytes · Sep 30, 2026 · 23:17 UTC

↓ Download file

import type { Command } from "commander";
import type { CommandExecution, ToolkitWarning } from "../../types/contracts.js";
import { type GlobalCliOptions } from "../global-options.js";
export interface ActionPayload<T> {
    data: T;
    warnings?: readonly ToolkitWarning[];
    execution?: CommandExecution;
    exitCode?: number;
}
export declare function commandPath(command: Command): string;
export declare function executeAction<T>(command: Command, operation: (options: GlobalCliOptions, signal: AbortSignal) => Promise<ActionPayload<T>>, renderHuman: (data: T) => string): Promise<void>;
//# sourceMappingURL=shared.d.ts.map

SHA-256: eec4898da1ad353a1b3ed7a9c5be8f2fd2988ea13b46a445b66ac3e95687098f