Manifest field paths#
metagit config set, metagit config patch, and metagit config preview accept the same path syntax.
workspace.projects[name=billing].repos[name=api].descriptionselects byname. Documentation entries matchnameor, when they have no name,title.graph.relationships[id=edge-1]selects byid.graph.nodes[id=github://acme/api]selects byidentity(nodes have noidfield).fromis the YAML key and an alias offrom_endpoint, sograph.relationships[id=edge-1].from.projectand.from_endpoint.projectare the same field.workspace.projects[0]andworkspace.projects.0are positional indexes.setaccepts both.patchandpreviewaccept[n]and the name/id selectors.
No match, or more than one match, is an error and lists the candidates. The write goes to the fragment that owns the entry and rewrites only the changed lines.