🎥 Make videos programmatically with React
import type {AnyRemotionOption} from './option';
const DEFAULT = false;
const cliFlag = 'disable-git-source';
export const disableGitSourceOption = {
cliFlag,
description: () =>
`Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.`,
docLink: 'https://www.remotion.dev/docs/options/disable-git-source',
getValue: ({commandLine}) => {
if (commandLine[cliFlag]) {
return {
source: 'cli',
value: commandLine[cliFlag] as boolean,
};
}
return {
source: 'default',
value: DEFAULT,
};
},
name: 'Disable Git source',
addedIn: '4.0.182',
setConfig: () => {
throw new Error('Not implemented');
},
ssrName: 'disableGitSource',
type: false as boolean,
id: cliFlag,
} satisfies AnyRemotionOption<boolean>;