[general] add template config

[create_repo.py] add default toml filename
[.gitignore] unignore template dir
This commit is contained in:
2024-07-13 21:38:45 +02:00
parent 2f04d4aaa4
commit ff31de0ca2
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
create_repo.toml
!template/*
out.toml
.vscode

View File

@@ -100,7 +100,7 @@ def get_args():
parser.add_argument('-y', '--yes', action='store_true', help='don\'t ask me before creating repo')
parser.add_argument('repo_name', nargs='?', help='Name of the repository to create', default=None)
parser.add_argument('-f', '--config_file', help='Path to the TOML configuration file')
parser.add_argument('-f', '--config_file', help='Path to the TOML configuration file', default='create_repo.toml')
parser.add_argument('-o', '--out', help='Path to output used config to', default=None)
parser.add_argument('-t', '--conn_token', '--token', help='gitea authorization token', type=str, default=None)