2022-08-17 21:14:52 +03:00
|
|
|
# View commands
|
|
|
|
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2022-08-17 21:14:52 +03:00
|
|
|
a.thing = "a"
|
|
|
|
b.thing = "b"
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2022-08-17 21:14:52 +03:00
|
|
|
-- Should suffix-search and find values in sub-namespaces
|
2024-07-02 19:48:54 +03:00
|
|
|
scratch/main> view thing
|
2022-08-17 21:14:52 +03:00
|
|
|
|
|
|
|
a.thing : Text
|
|
|
|
a.thing = "a"
|
|
|
|
|
|
|
|
b.thing : Text
|
|
|
|
b.thing = "b"
|
|
|
|
|
2024-07-06 02:55:07 +03:00
|
|
|
-- Should support absolute paths
|
|
|
|
scratch/main> view .b.thing
|
2022-08-17 21:14:52 +03:00
|
|
|
|
2024-07-06 02:55:07 +03:00
|
|
|
.b.thing : Text
|
|
|
|
.b.thing = "b"
|
2022-08-17 21:14:52 +03:00
|
|
|
|
2024-07-02 19:48:54 +03:00
|
|
|
```
|
2024-07-06 02:55:07 +03:00
|
|
|
TODO: swap this back to a 'ucm' block when view.global is re-implemented
|
2022-08-17 21:14:52 +03:00
|
|
|
|
2024-07-15 21:10:27 +03:00
|
|
|
```
|
|
|
|
-- 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
|
|
|
|
```
|
2024-07-02 19:48:54 +03:00
|
|
|
|