🎥 Make videos programmatically with React
sketch out lambda cli documentation
Jonny Burgerdefdf8b3f59c
diff --git a/packages/docs/docs/lambda-cli.md b/packages/docs/docs/lambda-cli.mdindex a106166fd4..940211652b 100644--- a/packages/docs/docs/lambda-cli.md+++ b/packages/docs/docs/lambda-cli.md@@ -4,8 +4,41 @@ sidebar_label: CLItitle: "@remotion/lambda - CLI"----## `@remotion/lambda cleanup`+You can get a list of all commands using `npx remotion-lambda --help`.+## Commands++### upload++Uploads a Remotion project to an S3 bucket. You will get a URL which you can pass to the `render` command to render the video.++```console+npx remotion-lambda upload src/index.ts+```++### policies++Prints the recommended policies to be added to the AWS user and the AWS role.++```console+npx remotion-lambda policies+```++### cleanup++This command helps remove Remotion-related resources from your AWS account.++```+npx remotion-lambda cleanup```+### render++Renders a video using Remotion Lambda. You need to pass two arguments:++- A URL, obtained from the `upload` command.+- The ID of the composition that you want to render.++```+npx remotion-lambda render https://remotionlambda-abcdefgh.s3.eu-central-1.amazonaws.com/sites/abcdefgh HelloWorld```diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex fdc8c43b81..55dc5412e5 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -82,7 +82,7 @@ module.exports = {{type: "category",label: "API - @remotion/lambda",- items: ["lambda", "lambda-permissions"],+ items: ["lambda", "lambda-cli", "lambda-permissions"],},"player",{