Is your feature request related to a problem? Please describe.
In code.json, licenses is an array that contains a repository's licenses. Currently, the code.json cookiecutter CLI only adds a single license to the array.
Describe the solution you'd like
We want code.json cookiecutter CLI to be able to add multiple licenses. This can be done using the post_gen_project.py script that is run after the user completes the cookiecutter.json prompts.
Describe alternatives you've considered
We could have users manually update the license field themselves but this is prone to user error.
Additional context
In the .github directory, run the code.json cookiecutter CLI:
cookiecutter . --directory=codejson
More information about code.json: https://github.com/DSACMS/gov-codejson/blob/main/docs/metadata.md
code.json CMS schema: https://github.com/DSACMS/gov-codejson/blob/main/schemas/schema-2.0.0.json
Is your feature request related to a problem? Please describe.
In
code.json,licensesis an array that contains a repository's licenses. Currently, the code.json cookiecutter CLI only adds a single license to the array.Describe the solution you'd like
We want code.json cookiecutter CLI to be able to add multiple licenses. This can be done using the
post_gen_project.pyscript that is run after the user completes the cookiecutter.json prompts.Describe alternatives you've considered
We could have users manually update the license field themselves but this is prone to user error.
Additional context
In the
.githubdirectory, run the code.json cookiecutter CLI:More information about code.json: https://github.com/DSACMS/gov-codejson/blob/main/docs/metadata.md
code.json CMS schema: https://github.com/DSACMS/gov-codejson/blob/main/schemas/schema-2.0.0.json