Query info for components in this project
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]
# Query a single component
azldev component query -p curl
# Query with JSON output
azldev component query -p bash -q -O json
-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
-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
- azldev component - Manage components