Skip to main content

atmos vendor config get

Read a raw value from vendor.yaml using an arbitrary dot-notation path. This is the canonical form. atmos vendor get <component> is a convenience alias that resolves a component name to its spec.sources[N].version path and calls this same engine — use atmos vendor config get directly for paths other than a component's pinned version.

atmos vendor config get --help
 

Usage​

atmos vendor config get <path> [--file <manifest>]

Examples​

atmos vendor config get spec.sources[0].version

Arguments​

<path> (required)
Dot-notation path into the vendor manifest (e.g. spec.sources[0].version).

Flags​

--file (string, default ./vendor.yaml)
The vendor manifest file to read.

Try it out​

Copy the example into a new directory and make it your own:

atmos init examples/demo-vendoring
cd demo-vendoring

Read the version of the included weather source by its manifest path. This works offline and prints main in a fresh copy.

atmos vendor config get 'spec.sources[1].version'