Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature Request: wrangler r2 CLI should be useable with local R2 bucket #7888

Open
aleclarson opened this issue Jan 23, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@aleclarson
Copy link

Describe the solution

Not sure if this is already possible.

I want wrangler r2 CLI to work on local buckets too.

@aleclarson aleclarson added the enhancement New feature or request label Jan 23, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jan 23, 2025
@penalosa
Copy link
Contributor

You should be able to pass the --local flag to make wrangler r2 talk to local buckets

@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Jan 23, 2025
@aleclarson
Copy link
Author

aleclarson commented Jan 23, 2025

Huh, I tried that to no avail. What version was it added? Is there a particular place in the command where it belongs?

Also, --local is not mentioned anywhere in the --help output.

edit: Just tried with latest wrangler version. It did not work.

@penalosa
Copy link
Contributor

What command are you running? e.g. wrangler r2 object put --help should display --local as an option

@penalosa penalosa reopened this Jan 23, 2025
@github-project-automation github-project-automation bot moved this from Done to Untriaged in workers-sdk Jan 23, 2025
@aleclarson
Copy link
Author

I was trying wrangler r2 bucket list --local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants