@remotion/cli
Version:
Control Remotion features using the `npx remotion` command
19 lines (18 loc) • 768 B
TypeScript
import type { GitSource } from '@remotion/studio-shared';
export type ParsedGitRemote = {
type: 'github';
org: string;
name: string;
};
export declare const getGitConfig: (remotionRoot: string) => string | null;
export declare const getGitRemoteOrigin: (gitConfig: string) => {
remote: string;
url: string | null;
} | null;
export declare const normalizeGitRemoteUrl: (url: string) => ParsedGitRemote | null;
export declare const getGifRef: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => string | null;
export declare const getGitSource: ({ remotionRoot, disableGitSource, logLevel, }: {
remotionRoot: string;
disableGitSource: boolean;
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
}) => GitSource | null;