wrangler init [name]
Create a wrangler.toml for an existing project
Arguments
Name | Description |
---|
name | The name of your worker! [default: worker] |
Options
Name | Description |
---|
-c, --config <wrangler.toml> | Path to configuration file [default: wrangler.toml] |
-e, --env <environment> | Environment to perform a command on |
-h, --help | Prints help information |
--verbose | Toggle verbose output (when applicable) |
-s, --site | Initializes a Workers Sites project. Overrides 'type'
and 'template' |
-t, --type [type] | The type of project you want generated |