Skip to main content

atmos version track get

Get a single value from a dependency entry after defaults and groups are applied. By default this prints the entry's locked version; use --show to print any other field instead.

Usage

atmos version track get NAME [flags]

Arguments

NAME required
Entry name to show.

Flags

--show string
Entry field to display: name, ecosystem, datasource, provider, package, desired, group, update, include, exclude, prerelease, labels, locked. Defaults to locked.
--track string
Version track to operate on. Defaults to version.track in atmos.yaml.
--format string
Output format: yaml, json. Defaults to yaml.

Examples

# Get the locked version of an entry from the default track
atmos version track get checkout

# Get the desired (unlocked) version instead
atmos version track get checkout --show=desired

# Get a different field, from a specific track, as JSON
atmos version track get checkout --track=prod --show=ecosystem --format=json