mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
581 B
581 B
View commands
a.thing = "a"
b.thing = "b"
-- Should suffix-search and find values in sub-namespaces
scratch/main> view thing
a.thing : Text
a.thing = "a"
b.thing : Text
b.thing = "b"
-- Should support absolute paths
scratch/main> view .b.thing
.b.thing : Text
.b.thing = "b"
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