@lambdacurry/upfile
v1.0.0
Published
Upload files to Lambda Curry's slopfiles service
Readme
@lambdacurry/upfile
Upload a local file to Lambda Curry's public file drop and print its permanent URL.
Run
npx @lambdacurry/upfile screenshot.png
npx @lambdacurry/upfile demo.mp4 --json
cat report.txt | npx @lambdacurry/upfile --jsonOr install it globally:
npm install --global @lambdacurry/upfile
upfile screenshot.pngConfigure
Use an environment variable, which takes precedence and works well in CI:
export UPFILE_API_KEY=...Or save the key in the current user's configuration:
upfile config set api-key ...The default endpoint is https://slopfiles.lambdacurry.dev. Override it with:
upfile config set endpoint https://files.example.comOn Linux and macOS the configuration is stored at ~/.upfile/config.json with
owner-only permissions. On Windows it is stored in the user's home directory.
Commands
upfile <file> [--json] Upload a file
upfile doctor Verify authentication and connectivity
upfile rm <id> Delete an uploaded file
upfile config Show configuration
upfile --version Show the installed versionLicense: MIT. Forked from upfilesh/cli.
