Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: Organize list-modules output; add --packages flag #3925

Merged
merged 1 commit into from
Jan 4, 2021
Merged

Conversation

mholt
Copy link
Member

@mholt mholt commented Dec 15, 2020

One thing that I always found kinda difficult was inspecting the output of caddy list-modules manually/visually.

I often want to know at a glance which non-standard modules a binary contains so that I can upgrade that Caddy instance without forgetting any of the modules it uses when I create its build.

This output is much easier to scan. It lists the standard modules first, then non-standard ones separately. It even counts them. I also added a --packages flag so you can see what Go package the module comes from.

(In the future, there should be a way to easily download the same build configuration but at the latest version, or a specified version.)

@mholt mholt added this to the v2.4.0 milestone Dec 15, 2020
@mholt mholt self-assigned this Dec 15, 2020
@mholt mholt merged commit 144b65c into master Jan 4, 2021
@francislavoie francislavoie deleted the list-modules branch January 4, 2021 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant