π₯ Make videos programmatically with React
Update still.ts
Jonny Burgerfcaeec93fc90
diff --git a/packages/cli/src/render-flows/still.ts b/packages/cli/src/render-flows/still.tsindex de5c19a0b5..3406481e2c 100644--- a/packages/cli/src/render-flows/still.ts+++ b/packages/cli/src/render-flows/still.ts@@ -24,6 +24,7 @@ import {ConfigInternals} from '../config';import {determineFinalStillImageFormat} from '../determine-image-format';import {getAndValidateAbsoluteOutputFile} from '../get-cli-options';import {getCompositionWithDimensionOverride} from '../get-composition-with-dimension-override';+import {makeHyperlink} from '../hyperlinks/make-link';import {Log} from '../log';import {makeOnDownload} from '../make-on-download';import {parsedCli, quietFlagProvided} from '../parsed-cli';@@ -272,6 +273,7 @@ export const renderStillFlow = async ({printFact('info')({indent,left: 'Composition',+ link: 'https://remotion.dev/docs/terminology/composition',logLevel,right: [compositionId, isVerbose ? `(${reason})` : null].filter(truthy)@@ -366,7 +368,7 @@ export const renderStillFlow = async ({Log.info({indent, logLevel},chalk.blue(- `${(exists ? 'β' : '+').padEnd(LABEL_WIDTH)} ${relativeOutputLocation}`,+ `${(exists ? 'β' : '+').padEnd(LABEL_WIDTH)} ${makeHyperlink({url: 'file://' + absoluteOutputLocation, text: relativeOutputLocation, fallback: relativeOutputLocation})}`,),);};