I'm considering changing the format of the repo to something like:
licenses.js
templates/
- headers/
- license-id.txt
- ...
licenses.js would be a JSON file with a description of the available licenses. Each license would have the following fields: id (slug), full name, version, text file name, header file name. I'm considering something along the format of:
{
id: 'a-license',
name: 'A Generic License',
versions: [
{
number: '2.1',
text: 'a-license.txt',
header: 'a-license-header.txt',
}
]
}
Maybe having separate folders for the header and text files are unnecessary with this config file? A user could specify a specific version as a-license@2.1 or use the newest (or only) version with just a-license.
Thoughts?
I'm considering changing the format of the repo to something like:
licenses.js would be a JSON file with a description of the available licenses. Each license would have the following fields: id (slug), full name, version, text file name, header file name. I'm considering something along the format of:
Maybe having separate folders for the header and text files are unnecessary with this config file? A user could specify a specific version as a-license@2.1 or use the newest (or only) version with just a-license.
Thoughts?