Commit graph

9 commits

Author SHA1 Message Date
Samsondeen
c0a7ff235b
Apply some new go collection features (#36818) 2025-04-02 16:20:16 +02:00
Radek Simko
908828be8a
cmd/modules: Ensure modules are sorted by reference key (#36268) 2025-01-06 15:25:24 +00:00
Mark DeCrane
40d1628e3c Use mod key to match module 2024-12-04 11:43:47 -06:00
Mark DeCrane
b2a90cf587 Testing updates 2024-11-21 12:54:29 -05:00
Mark DeCrane
8d0db63571 Add human view for modules cmd 2024-11-21 12:54:24 -05:00
Sebastian Rivera
3e976d9301 Remove unnecessary module path normalization 2024-10-28 13:31:09 -04:00
Sebastian Rivera
59cea511dd Only show referenced entries, add versioning
This commit makes several modifications to the modules command. It
downcases the field names in the resulting JSON string, adds a format
version to the result. The result of this command will now only contain
entries which have been declared in configuration, as opposed to the
internal manifest which shows all installed modules for a working dir.
2024-10-28 13:31:09 -04:00
Sebastian Rivera
f19d17cee7 Add missing license headers 2024-10-28 13:31:09 -04:00
Sebastian Rivera
ee1a2a7858 Implement the modules command
The modules command provides a holistic view of all installed modules
for a given root module. It also includes information on whether a
installed module is currently referenced by configuration. As of now,
this command only supports a machine-readable view format.
2024-10-28 13:31:09 -04:00