Closed ObsidianMinor closed 2 years ago
i think this is cool and a nice quality of life improvement! i do think we may need to go straight to the workers list, or include a flag for the one you want / env you want.
This issue has been automatically marked as stale because it has not had recent activity in the last 180 days. It will be closed if no further activity occurs in the next week. Please feel free to comment if you'd like it to remain open, and thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. You may re-open the issue if it is still relevant.
A real pain point I've found with using wrangler and the dash is that there isn't a clean and easy way to get from the CLI to the dash quickly. This is sometimes necessary if you want to see analytics or past events with cron triggers (or if a new feature has come out that doesn't have support in wrangler yet).
For that I propose
wrangler dash
, a command that simply navigates directly to the dash page for your uploaded worker.Example usage
This would open your default browser and navigate to the worker dash page.
You may also pass a
--url
parameter to print the URL we would navigate to instead.If the worker hasn't been published, we could navigate to where the worker would be or just display an error after making a check to see if it actually exists.
If we're not in a project directory we would simply state that we need to be in one.