mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 08:18:04 +03:00
b7bf12081b
* Fix #1056 and add author and license metadata types * Transcript demonstrating that the codebase is empty at first
730 B
730 B
Using numbered arguments in UCM
.> builtins.merge
First lets add some contents to our codebase.
foo = "foo"
bar = "bar"
baz = "baz"
qux = "qux"
quux = "quux"
corge = "corge"
.temp> add
We can get the list of things in the namespace, and UCM will give us a numbered list:
.temp> find
We can ask to view
the second element of this list:
.temp> find
.temp> view 2
And we can view
multiple elements by separating with spaces:
.temp> find
.temp> view 2 3 5
We can also ask for a range:
.temp> find
.temp> view 2-4
And we can ask for multiple ranges and use mix of ranges and numbers:
.temp> find
.temp> view 1-3 4 5-6