atmos vendor config set
Set a raw value in vendor.yaml using an arbitrary dot-notation path. Values default
to strings; use --type for int, bool, float, null, or raw YAML literals. This is the
canonical form. atmos vendor set <component> <version>
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 set directly for paths
other than a component's pinned version.
Usage
atmos vendor config set <path> <value> [--type <type>] [--file <manifest>]
Examples
atmos vendor config set spec.sources[0].version v1.2.3
atmos vendor config set --type=yaml 'spec.sources[0].tags' '["a", "b"]'
Arguments
<path>(required)- Dot-notation path into the vendor manifest (e.g.
spec.sources[0].version). <value>(required)- The value to set, interpreted according to
--type.
Flags
--type(string, defaultstring)- How to interpret
<value>:string,int,bool,float,null, oryaml(raw literal).autois recognized but rejected — unlikeconfig set/stack set, vendor manifests have no schema or existing-value signal for auto-inference to draw on, so--typemust be given explicitly (or omitted, which defaults tostring). --file(string, default./vendor.yaml)- The vendor manifest file to edit.
Related
- Alias (by component name):
atmos vendor set
Try it out
- Install Atmos
- Try the example
Copy the example into a new directory and make it your own:
atmos init examples/demo-vendoring
cd demo-vendoring
Update the description in your local vendor manifest, then read it back. No downloads or cloud credentials are needed.
atmos vendor config set metadata.description "My vendoring demo"
atmos vendor config get metadata.description