unison/unison-src/transcripts/view.md
2024-07-11 09:49:55 -07:00

558 B

View commands

scratch/main> builtins.merge
a.thing = "a"
b.thing = "b"
scratch/main> add
-- Should suffix-search and find values in sub-namespaces
scratch/main> view thing
-- Should support absolute paths
scratch/main> view .b.thing

TODO: swap this back to a 'ucm' block when view.global is re-implemented

-- view.global should search globally and be absolutely qualified
scratch/other> view.global thing
-- Should support branch relative paths
scratch/other> view /main:a.thing