🎥 Make videos programmatically with React
New CLI autocomplete
Jonny Burger274a2e0cccae
diff --git a/packages/cli-autocomplete/src/source.ts b/packages/cli-autocomplete/src/source.tsindex 4bd8dc8fb1..b762790ef4 100644--- a/packages/cli-autocomplete/src/source.ts+++ b/packages/cli-autocomplete/src/source.ts@@ -22,6 +22,13 @@ const alwaysOptions: Fig.Option[] = [}),},},+ {+ name: "--config",+ description: "Custom location for a Remotion config file",+ args: {+ template: "filepaths",+ },+ },];const propsOption: Fig.Option = {@@ -121,13 +128,6 @@ const localRenderAndStillOptions: Fig.Option[] = [default: "3333",},},- {- name: "--config",- description: "Custom location for a Remotion config file",- args: {- template: "filepaths",- },- },{name: "--public-dir",description: "Location of the public/ directory",@@ -812,6 +812,32 @@ const completionSpec: Fig.Spec = {],options: globalLambdaOptions,},+ {+ name: "bundle",+ priority: 100,+ description: "Bundle a Remotion project",+ args: {+ name: "entry",+ template: ["filepaths"],+ },+ options: [+ ...alwaysOptions,+ {+ name: "--public-dir",+ description: "Location of the public/ directory",+ args: {+ template: "folders",+ },+ },+ {+ name: "--out-dir",+ description: "Define the location of the resulting bundle",+ args: {+ template: "folders",+ },+ },+ ],+ },{name: "render",priority: 60,diff --git a/packages/docs/docs/cli/bundle.md b/packages/docs/docs/cli/bundle.mdindex b8a77e2f1d..408a5dd2f7 100644--- a/packages/docs/docs/cli/bundle.md+++ b/packages/docs/docs/cli/bundle.md@@ -7,7 +7,8 @@ crumb: CLI Reference_available from v4.0.89_-Creates a [Remotion Bundle](/docs/terminology#bundle) on the command line. Equivalent to the [`bundle()`](/docs/bundle) Node.JS API.+Creates a [Remotion Bundle](/docs/terminology#bundle) on the command line.+Equivalent to the [`bundle()`](/docs/bundle) Node.JS API.```bashnpx remotion bundle <entry-file?>