🎥 Make videos programmatically with React
remotion still CLI help
Jonny Burgerf3f20b327984
diff --git a/packages/cli/src/print-help.ts b/packages/cli/src/print-help.tsindex ca9bd31620..89e2c3b67a 100644--- a/packages/cli/src/print-help.ts+++ b/packages/cli/src/print-help.ts@@ -42,6 +42,21 @@ export const printHelp = () => {['--port', 'Custom port to use for the HTTP server'],['--env-file', 'Specify a location for a dotenv file'],]);+ Log.info('remotion still <index-file.ts> <comp-name> <still.mp4>');+ Log.info(chalk.gray('Render a still frame and save it as an image.'));+ printFlags([+ ['--frame', 'Which frame to render (default 0)'],+ ['--image-format', 'Format to render the frames in, "jpeg" or "png"'],+ ['--props', 'Pass input props as filename or as JSON'],+ ['--config', 'Custom location for a Remotion config file'],+ ['--quality', 'Quality for rendered frames, JPEG only, 0-100'],+ ['--overwrite', 'Overwrite if file exists, default true'],+ ['--browser-executable', 'Custom path for browser executable'],+ ['--bundle-cache', 'Cache webpack bundle, boolean, default true'],+ ['--log', 'Log level, "error", "warning", "verbose", "info" (default)'],+ ['--port', 'Custom port to use for the HTTP server'],+ ['--env-file', 'Specify a location for a dotenv file'],+ ]);Log.info();Log.info('remotion upgrade');Log.info(chalk.gray('Ensure Remotion is on the newest version.'));