From dafa56242c0f32a5bd358aabdb77a6e9ca243c3c Mon Sep 17 00:00:00 2001 From: Chris Johnson <49479599+workeffortwaste@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:37:06 +0000 Subject: [PATCH] Fix default for frame advance in yargs --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index a363df6..6c02d09 100644 --- a/cli.js +++ b/cli.js @@ -46,7 +46,7 @@ const _yargs = yargs(hideBin(process.argv)) /* CLI arguments config */ const options = _yargs .wrap(Math.min(110, _yargs.terminalWidth())) - .default({ C: 'mp4', r: 'gsap', p: 'auto', c: 'libx264', o: 'video.mp4', t: 'gsap', f: 60, S: 'document', z: 1, V: '1920x1080', v: 'auto', E: '"-pix_fmt yuv420p -crf 18"', q: true, h: true, chrome: false }) + .default({ C: 'mp4', a: 'gsap', p: 'auto', c: 'libx264', o: 'video.mp4', t: 'gsap', f: 60, S: 'document', z: 1, V: '1920x1080', v: 'auto', E: '"-pix_fmt yuv420p -crf 18"', q: true, h: true, chrome: false }) .usage('$0 ', 'Export GreenSock (GSAP) animation to video') .describe('s', '[browser] Custom script (Page)') .describe('prepare-frame', '[browser] Custom script (Frame)')