DriveLoader Logo
DriveLoaderv1.2.0
Docs/CLI Tool (`npx driveloader`)

CLI Tool (`npx driveloader`)

Command-line suite for URL validation, endpoint resolution, component code generation, and cache management.

Overview

Automate troubleshooting, clear persistent storage caches, run local benchmarks, and scaffold boilerplate components directly from your terminal.

Code Example

cli.tsx
1npx driveloader doctor
2npx driveloader benchmark
3npx driveloader inspect "https://drive.google.com/file/d/ID/view"
4npx driveloader generate video

Best Practices

  • Use 'npx driveloader doctor' before submitting bug reports to verify system compatibility.
  • Run 'npx driveloader benchmark' in CI to ensure asset latency remains low.

Common Mistakes

  • ×Running global installations (npm i -g) instead of using npx, leading to outdated CLI versions.

Related APIs