Skip to content

Commit e072d56

Browse files
colyerdengShawnDen-coder
authored andcommitted
chore: fix template
1 parent f556c2a commit e072d56

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.idea

repo_template/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def cli():
1111

1212

1313
@cli.command()
14-
@click.option('--template', '-t', default='https://github.com/your-template-repo.git',
14+
@click.option('--template', '-t', default='https://github.com/ShawnDen-coder/repo-template.git',
1515
help='Cookiecutter template URL or path')
1616
@click.option('--output-dir', '-o', default='.', help='Where to output the generated project dir')
1717
@click.option('--local', '-l', is_flag=True, help='Use local template in ./template-python')

template-python/cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"repo_name": "My-Package",
33
"full_name": "Shawn Deng",
44
"email": "[email protected]",
5-
"project_slug": "{{ cookiecutter.repo_name.strip().lower().replace(' ', '_') }}",
5+
"project_slug": "{{ cookiecutter.repo_name.strip().lower().replace('-', '_') }}",
66
"description": "A short description of the project.",
77
"include_cli": {
88
"__prompt__": "Include CLI interface? (y/n)",

0 commit comments

Comments
 (0)