Is your feature request related to a problem? Please describe.
In the usageType field which is an array, projects can have multiple exemptions. Currently, the code.json cookiecutter CLI only supports collecting 1 exemption.
Describe the solution you'd like
We would like the code.json cookiecutter CLI to collect multiple exemptions for the usageType field. 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 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 the
usageTypefield which is an array, projects can have multiple exemptions. Currently, the code.json cookiecutter CLI only supports collecting 1 exemption.Describe the solution you'd like
We would like the code.json cookiecutter CLI to collect multiple exemptions for the
usageTypefield. This can be done using thepost_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 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