Spaces:
Sleeping
Sleeping
Update cloneTheGit.py
Browse files- cloneTheGit.py +9 -3
cloneTheGit.py
CHANGED
@@ -1,8 +1,14 @@
|
|
1 |
import os
|
2 |
import subprocess
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
# GitHubリポジトリのURL
|
8 |
repo_url = "https://github.com/OzoneAsai/flashcards.git"
|
|
|
1 |
import os
|
2 |
import subprocess
|
3 |
+
import argparse
|
4 |
+
|
5 |
+
# パーサーの作成
|
6 |
+
parser = argparse.ArgumentParser(description="This is a sample script.")
|
7 |
+
|
8 |
+
# 引数の定義
|
9 |
+
|
10 |
+
parser.add_argument("--key", type=int, help="Your PAT", required=True)
|
11 |
+
|
12 |
|
13 |
# GitHubリポジトリのURL
|
14 |
repo_url = "https://github.com/OzoneAsai/flashcards.git"
|