Skip to content

Commit 5f755bb

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent b776f9b commit 5f755bb

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "f46d0e9611ca496d3600e43343a01dcfb86caee6",
2+
"_commit": "b851b18deb15991b5c0f150c907fb56f13756375",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "f46d0e9611ca496d3600e43343a01dcfb86caee6",
3+
"commit": "b851b18deb15991b5c0f150c907fb56f13756375",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -20,7 +20,7 @@
2020
"license": "MIT",
2121
"development_status": "Development Status :: 1 - Planning",
2222
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
23-
"_commit": "f46d0e9611ca496d3600e43343a01dcfb86caee6"
23+
"_commit": "b851b18deb15991b5c0f150c907fb56f13756375"
2424
}
2525
},
2626
"directory": null

scripts/setup-remote.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ def setup_remote(path: Path, repository_host: str, repository_path: str) -> None
3737

3838

3939
def get_parser() -> argparse.ArgumentParser:
40-
"""Creates the argument parser for setup-git."""
40+
"""Creates the argument parser for setup-remote."""
4141
parser: argparse.ArgumentParser = argparse.ArgumentParser(
42-
prog="setup-git",
43-
usage="python ./scripts/setup-remote.py . -h github.com -p 56kyle/robust-python-demo",
42+
prog="setup-remote",
43+
usage="python ./scripts/setup-remote.py . --host github.com --path 56kyle/robust-python-demo",
4444
description="Set up the provided cookiecutter-robust-python project's remote repo connection.",
4545
)
4646
parser.add_argument(
@@ -49,9 +49,11 @@ def get_parser() -> argparse.ArgumentParser:
4949
metavar="PATH",
5050
help="Path to the repo's root directory (must already exist).",
5151
)
52-
parser.add_argument("-h", "--host", dest="repository_host", help="Repository host (e.g., github.com, gitlab.com).")
5352
parser.add_argument(
54-
"-p", "--path", dest="repository_path", help="Repository path (e.g., user/repo, group/subgroup/repo)."
53+
"--host", dest="repository_host", help="Repository host (e.g., github.com, gitlab.com)."
54+
)
55+
parser.add_argument(
56+
"--path", dest="repository_path", help="Repository path (e.g., user/repo, group/subgroup/repo)."
5557
)
5658
return parser
5759

0 commit comments

Comments
 (0)