https://github.com/joaopalmeiro/copier-cli
  
  
    Copier template for Python CLIs with Click and Poetry. 
    https://github.com/joaopalmeiro/copier-cli
  
bootstrapping copier copier-template python scaffolding template
        Last synced: 7 months ago 
        JSON representation
    
Copier template for Python CLIs with Click and Poetry.
- Host: GitHub
 - URL: https://github.com/joaopalmeiro/copier-cli
 - Owner: joaopalmeiro
 - License: mit
 - Created: 2022-08-07T09:51:13.000Z (about 3 years ago)
 - Default Branch: main
 - Last Pushed: 2022-09-02T11:07:07.000Z (about 3 years ago)
 - Last Synced: 2025-01-31T07:11:59.368Z (9 months ago)
 - Topics: bootstrapping, copier, copier-template, python, scaffolding, template
 - Language: Jinja
 - Homepage:
 - Size: 13.7 KB
 - Stars: 3
 - Watchers: 1
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
- jimsghstars - joaopalmeiro/copier-cli - Copier template for Python CLIs with Click and Poetry. (Jinja)
 
README
          # copier-cli
[Copier](https://github.com/copier-org/copier) template for Python CLIs with [Click](https://click.palletsprojects.com/en/8.1.x/) and [Poetry](https://python-poetry.org/).
## Quickstart
```bash
copier "gh:joaopalmeiro/copier-cli" 
```
## Development
- `export PIPENV_VENV_IN_PROJECT=1 && pipenv install --python 3.7`
- `pipenv run copier --version`
- `pipenv run djlint project/* --lint --profile=jinja`
- `rm -rf demo && pipenv run copier . demo` or `rm -rf demo && pipenv run copier "gh:joaopalmeiro/copier-cli" demo`
## Deployment
- After finishing a new template version, [create a new release in the GitHub repository](https://github.com/joaopalmeiro/copier-cli/releases)
## Notes
- [Copier](https://github.com/copier-org/copier):
  - [Documentation](https://copier.readthedocs.io/en/latest/)
  - [pdm-project/copier-pdm](https://github.com/pdm-project/copier-pdm) template
  - [pawamoy/copier-pdm](https://github.com/pawamoy/copier-pdm) template
  - [pawamoy/copier-poetry](https://github.com/pawamoy/copier-poetry) template
  - Install: `pipx install copier`
- ['save-exact' option for saving exact version in Pipfile](https://github.com/pypa/pipenv/issues/3441) (open) issue
- [djLint](https://djlint.com/):
  - [Linter](https://djlint.com/docs/linter/)
  - [VS Code extension](https://marketplace.visualstudio.com/items?itemName=monosans.djlint)
  - `pipenv run djlint project/* --check --profile=jinja`
  - `pipenv run djlint project/* --reformat --profile=jinja`
  - `pipenv run djlint project/\{\{_copier_conf.answers_file\}\}.jinja --reformat --profile=jinja`
- GitHub topics ([source](https://github.com/topics/copier-template)):
  - python
  - template
  - scaffolding
  - bootstrapping
  - copier
  - copier-template