Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.91 KB

File metadata and controls

59 lines (43 loc) · 1.91 KB

azldev component query

Query info for components in this project

Synopsis

Query detailed information for components by fetching and parsing their spec files.

Unlike 'list', which only shows configuration metadata, 'query' resolves upstream sources and parses the RPM spec to report version, release, subpackages, dependencies, and other spec-level details. This makes it slower than 'list' but more informative.

azldev component query [flags]

Examples

  # Query a single component
  azldev component query -p curl

  # Query with JSON output
  azldev component query -p bash -q -O json

Options

  -a, --all-components                Include all components
  -p, --component stringArray         Component name pattern
  -g, --component-group stringArray   Component group name
  -h, --help                          help for query
  -s, --spec-path stringArray         Spec path

Options inherited from parent commands

  -y, --accept-all                accept all prompts
      --color mode                output colorization mode {always, auto, never} (default auto)
      --config-file stringArray   additional TOML config file(s) to merge (may be repeated)
  -n, --dry-run                   dry run only (do not take action)
      --network-retries int       maximum number of attempts for network operations (minimum 1) (default 3)
      --no-default-config         disable default configuration
  -O, --output-format fmt         output format {csv, json, markdown, table} (default table)
      --permissive-config         do not fail on unknown fields in TOML config files
  -C, --project string            path to Azure Linux project
  -q, --quiet                     only enable minimal output
  -v, --verbose                   enable verbose output

SEE ALSO