Skip to content

cmd/cue: command to list packages #3844

Open
@myitcv

Description

@myitcv

Is your feature request related to a problem? Please describe.

Go has go list to list package information (see #2882 for a request to be able to list module versions - that issue could be merged into this one). Having a similar command in CUE would be generally incredibly useful.

Describe the solution you'd like

A cmd/cue command to list package information like go list.

Describe alternatives you've considered

There isn't a good solution here, save for manually gathering this information as a human. Which seems to be a shame when https://pkg.go.dev/cuelang.org/go/cue/build#Instance exists already.

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestNew feature or requestmodulesIssues related to CUE modules and the experimental implementation

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions