Skip to content

Error: unknown flag: --config on xcaddy run #231

@steffenbusch

Description

@steffenbusch
$ xcaddy version
v0.4.4 h1:xstmMhsxrDF/1rnncpi+CLbBfxEP0PjjdtXe3YFwnuo=

When I run xcaddy run --config Caddyfile-Test, I get this error:

$ xcaddy run --config Caddyfile-Test 
Error: unknown flag: --config
unknown flag: --config

I think this should be working based on the README.md section For plugin development

$ xcaddy <args...>
  • <args...> are passed through to the caddy command.

For example:

$ xcaddy list-modules
$ xcaddy run
$ xcaddy run --config caddy.json

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