Skip to main content
Version: v1.11-alpha

vela def list-module

List all definitions in a Go module.

Synopsis

List all definitions in a Go module without applying them.

Supports both local paths and remote Go modules:

  • Local path: ./my-definitions, /path/to/definitions
  • Go module: github.com/myorg/definitions@v1.0.0
vela def list-module [flags]

Examples

# List definitions in a local directory
> vela def list-module ./my-definitions

# List definitions in a remote Go module
> vela def list-module github.com/myorg/definitions@v1.0.0

# List only component definitions
> vela def list-module ./my-definitions --types component

Options

  -h, --help             help for list-module
-t, --types string Comma-separated list of definition types to list
-v, --version string Version of the module (for remote modules)

Options inherited from parent commands

  -V, --verbosity Level   number for the log level verbosity
-y, --yes Assume yes for all user prompts

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.