Skip to content

[FEATURE] Add config options to populateCache command #761

Open
@0ta-mjn

Description

@0ta-mjn

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions