Skip to content

Cookiecutter: Support multiple exemptions in code.json cookiecutter CLI #350

@natalialuzuriaga

Description

@natalialuzuriaga

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions