mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-20 23:07:13 +03:00
840 B
840 B
Demonstrating create.author
:
def1 = 1
def2 = 2
☝️ The namespace .foo is empty.
.foo> add
⍟ I've added these definitions:
def1 : Nat
def2 : Nat
.foo> create.author alicecoder "Alice McGee"
Added definitions:
1. metadata.authors.alicecoder : Author
2. metadata.copyrightHolders.alicecoder : CopyrightHolder
3. metadata.authors.alicecoder.guid : GUID
Tip: Add License values for alicecoder under metadata.
.foo> view 2
metadata.copyrightHolders.alicecoder : CopyrightHolder
metadata.copyrightHolders.alicecoder =
CopyrightHolder guid "Alice McGee"
.foo> link metadata.authors.alicecoder def1 def2
Updates:
1. foo.def1 : Nat
+ 2. authors.alicecoder : Author
3. foo.def2 : Nat
+ 4. authors.alicecoder : Author