🎥 Make videos programmatically with React
docs: add cli testing instructions
Mohit Yadav18494cb72c87
diff --git a/packages/docs/docs/contributing/index.md b/packages/docs/docs/contributing/index.mdindex d1e3ad5ae0..bc6df5b00d 100644--- a/packages/docs/docs/contributing/index.md+++ b/packages/docs/docs/contributing/index.md@@ -102,6 +102,18 @@ cd packages/docspnpm start```+## Running the CLI++You can test changes to the local instance of the changing to the `src/packages/examples` directory and using `pnpm` to execute the cli:++```sh+cd src/packages/examples+# Example - Get available compositions+pnpm exec remotion compositions+# Example - Render command+pnpm exec remotion render ten-frame-tester --output ../../out/video.mp4+```+## TroubleshootingIf your `pnpm build` throws errors, oftentimes it is because of caching issues. You can resolve many of these errors by running@@ -112,7 +124,6 @@ pnpm run cleanin the root directory. Make sure to beforehand kill any `pnpm watch` commands, as those might regenerate files as you clean them!-## Developing Rust partsTo develop the Rust parts of Remotion, see the README in [packages/renderer/README.md](https://github.com/remotion-dev/remotion/blob/main/packages/renderer/README.md)diff --git a/packages/docs/docs/contributing/option.md b/packages/docs/docs/contributing/option.mdindex e1986a761a..27a0abf49a 100644--- a/packages/docs/docs/contributing/option.md+++ b/packages/docs/docs/contributing/option.md@@ -40,6 +40,10 @@ The option should be documented in the [API reference](/docs/api) and the [CLI rNote from which version the option is available.+## Testing changes to the CLI++Check out the [Running the CLI](/docs/contributing) section in the contributing docs.+## See also- [Implementing a new feature](/docs/contributing/feature)