i want to make cookicutter conditional propmting cookiecutter.json file

  Kiến thức lập trình

i am creating a cookiecutter project for a fastapi project template after demanding for the user if he want to configure the .env file variables : i want to display the prompts switch the users responses if he says yes the rest of the inputs will be chown

{
    "project_slug": "my_fastapi_project",
    "project_name": "My FastApi App",
    "author": "",
    "prefix": "",
    "version": "0.1.0",
    "add .env file ":["yes" ,"no"]
   `your text`

    }

New contributor

firas boukhchim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT