Skip to content

Instantly share code, notes, and snippets.

@podhmo
Last active November 10, 2021 15:40
Show Gist options
  • Save podhmo/25f3580f45c948dbbd9221a46833619d to your computer and use it in GitHub Desktop.
Save podhmo/25f3580f45c948dbbd9221a46833619d to your computer and use it in GitHub Desktop.
{
"directory_name": "Hello",
"project_name": "defaultProject",
"_extensions": [
"kamidana.extensions.CookiecutterAdditionalModulesExtension"
],
"_additional_modules": [
"kamidana.additionals.naming"
]
}
original = "{{cookiecutter.project_name}}"
print("camelcase: {{cookiecutter.project_name|camelcase}}")
print("snakecase: {{cookiecutter.project_name|snakecase}}")
print("kebabcase: {{cookiecutter.project_name|kebabcase}}")
with_additional_modules2
├── {{cookiecutter.directory_name}}
│   └── hello.py
└── cookiecutter.json
1 directory, 2 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment