← Files Cecil-IA Labs FFmpegARCHIVED FILE

dist/cli/environment-options.js

1.01 KB · Sep 30, 2026 · 23:17 UTC

↓ Download file

const CONTEXTS = [
    "chatgpt-regular",
    "chatgpt-work",
    "codex",
    "ide",
    "terminal",
    "unknown",
];
export function configureEnvironmentOptions(command, commandPath) {
    if (commandPath === "cecilia-ffmpeg environment check") {
        command
            .option("--context <context>", `execution context (${CONTEXTS.join("|")})`)
            .option("--output-path <path>", "check whether a target output path is writable")
            .option("--toolkit-path <path>", "override cecilia-ffmpeg resolution");
    }
    if (commandPath === "cecilia-ffmpeg environment install") {
        command
            .option("--scope <scope>", "installation scope: global, local, or npm-exec", "npm-exec")
            .option("--context <context>", `execution context (${CONTEXTS.join("|")})`, "terminal")
            .option("--apply", "execute the planned npm command")
            .option("--authorize", "confirm that this installation may change package state");
    }
}
//# sourceMappingURL=environment-options.js.map

SHA-256: c57c7e83477ff80e88bada200758602a2eb8e8832d25dbd8fe0c8057e4655b4e