Skip to content

Add -v flag support to main CLI command #5871

@francislavoie

Description

@francislavoie

Most a note-to-self to implement this, but if someone wants to open a PR before I do, by all means.

In the past, we used Go's stdlib flags which meant it was not possible to support caddy -v. But we've since switched to Cobra, so it's now possible to do so.

For context, some users were complaining about this on social media:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions