Creating an author and license

If you intend to publish your code in a project for others to use, you'll want to specify a license at the root of your project laying out the conditions under which others may use it.

First create an author with thecreate.authorcommand.

project1/main> aliceCoder "Alice Coder"

This adds the following values to your codebase:

1. metadata.authors.aliceCoder          : metadata.Author
2. metadata.authors.aliceCoder.guid     : GUID
3. metadata.copyrightHolders.aliceCoder : CopyrightHolder

Next, create a License with aCopyrightHolderandmetadata.LicenseTypeunder which to publish your code. The license is an ordinary Unison value of typemetadata.License.In your scratch file, you'll create a license value like this:

   License [copyrightHolders.aliceCoder] [Year 2023] licenseTypes.bsd3

Add that to your project at the top-level of the project:

project1/main> add