Description
Is your feature request related to a problem?
When using the wrangler
CLI, it is common to specify the configuration file and environment. However, the current implementation of the populateCache
command does not allow passing these options, which can lead to confusion and errors.
Describe the solution you'd like
I would like to modify the populateCache
command to accept config
options, similar to how the wrangler
CLI handles them. This will ensure consistency and make it easier to use the command in different environments.
Describe alternatives you've considered
An alternative would be to manually set the environment and configuration file in the code, but this is not ideal as it reduces flexibility and reusability. By allowing these options to be passed, users can easily switch between different configurations and environments without modifying the code.
@opennextjs/cloudflare version
1.3.1
Additional context
No response
Before submitting
- I have checked that there isn't already a similar feature request
- This is a single feature (not multiple features in one request)