kleinkram 0.49.0.dev20250804102856__py3-none-any.whl → 0.49.0.dev20250804105938__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kleinkram might be problematic. Click here for more details.
- kleinkram/cli/app.py +13 -2
- {kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/METADATA +1 -1
- {kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/RECORD +6 -6
- {kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/WHEEL +0 -0
- {kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/entry_points.txt +0 -0
- {kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/top_level.txt +0 -0
kleinkram/cli/app.py
CHANGED
|
@@ -127,12 +127,23 @@ def base_handler(exc: Exception) -> int:
|
|
|
127
127
|
|
|
128
128
|
@app.command(rich_help_panel=CommandTypes.AUTH)
|
|
129
129
|
def login(
|
|
130
|
-
oAuthProvider: str = typer.
|
|
131
|
-
"google",
|
|
130
|
+
oAuthProvider: str = typer.Option(
|
|
131
|
+
"google",
|
|
132
|
+
"--oauth-provider",
|
|
133
|
+
"-p",
|
|
134
|
+
help="OAuth provider to use for login. Supported providers: google, github.",
|
|
135
|
+
show_default=True,
|
|
132
136
|
),
|
|
133
137
|
key: Optional[str] = typer.Option(None, help="CLI key"),
|
|
134
138
|
headless: bool = typer.Option(False),
|
|
135
139
|
) -> None:
|
|
140
|
+
|
|
141
|
+
# validate oAuthProvider
|
|
142
|
+
if oAuthProvider not in ["google", "github"]:
|
|
143
|
+
raise typer.BadParameter(
|
|
144
|
+
f"Unsupported OAuth provider '{oAuthProvider}'. Supported providers: google, github."
|
|
145
|
+
)
|
|
146
|
+
|
|
136
147
|
login_flow(oAuthProvider=oAuthProvider, key=key, headless=headless)
|
|
137
148
|
|
|
138
149
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kleinkram
|
|
3
|
-
Version: 0.49.0.
|
|
3
|
+
Version: 0.49.0.dev20250804105938
|
|
4
4
|
Summary: give me your bags
|
|
5
5
|
Author: Cyrill Püntener, Dominique Garmier, Johann Schwabe
|
|
6
6
|
Author-email: pucyril@ethz.ch, dgarmier@ethz.ch, jschwab@ethz.ch
|
{kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/RECORD
RENAMED
|
@@ -28,7 +28,7 @@ kleinkram/cli/_mission.py,sha256=zDFnOozOFckpuREFgIPt1IzG5q3b1bsNxYlWQoHoz5A,530
|
|
|
28
28
|
kleinkram/cli/_project.py,sha256=N0C96NC_onCEwTteYp2wgkkwkdJt-1q43LFdqNXfjC8,3398
|
|
29
29
|
kleinkram/cli/_upload.py,sha256=gOhbjbmqhmwW7p6bWlSvI53vLHvBFO9QqD1kdU92I2k,2813
|
|
30
30
|
kleinkram/cli/_verify.py,sha256=n9QThY0JnqaIqw6udYXdRQGcpUl2lIbFXGQIgpTnDPE,2112
|
|
31
|
-
kleinkram/cli/app.py,sha256=
|
|
31
|
+
kleinkram/cli/app.py,sha256=8GSawKoX9PuyeOOf2Hq7dEfuqPHZkgGL0xvaFpxl4go,7508
|
|
32
32
|
kleinkram/cli/error_handling.py,sha256=wK3tzeKVSrZm-xmiyzGLnGT2E4TRpyxhaak6GWGP7P8,1921
|
|
33
33
|
testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
testing/backend_fixtures.py,sha256=t5QWwyezHUhxxAlbUuE_eFmpyRaGbnWNNcGPwrO17JM,1571
|
|
@@ -43,8 +43,8 @@ tests/test_printing.py,sha256=kPzpIQOtQJ9yQ32mM8cMGDVOGsbrZZLQhfsXN1Pe68Q,2231
|
|
|
43
43
|
tests/test_query.py,sha256=fExmCKXLA7-9j2S2sF_sbvRX_2s6Cp3a7OTcqE25q9g,3864
|
|
44
44
|
tests/test_utils.py,sha256=eUBYrn3xrcgcaxm1X4fqZaX4tRvkbI6rh6BUbNbu9T0,4784
|
|
45
45
|
tests/test_wrappers.py,sha256=TbcTyO2L7fslbzgfDdcVZkencxNQ8cGPZm_iB6c9d6Q,2673
|
|
46
|
-
kleinkram-0.49.0.
|
|
47
|
-
kleinkram-0.49.0.
|
|
48
|
-
kleinkram-0.49.0.
|
|
49
|
-
kleinkram-0.49.0.
|
|
50
|
-
kleinkram-0.49.0.
|
|
46
|
+
kleinkram-0.49.0.dev20250804105938.dist-info/METADATA,sha256=jnaEsv7jicKS_tWXXBcb63Gob1qsim0tF2TE08ZtGhQ,2846
|
|
47
|
+
kleinkram-0.49.0.dev20250804105938.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
48
|
+
kleinkram-0.49.0.dev20250804105938.dist-info/entry_points.txt,sha256=SaB2l5aqhSr8gmaMw2kvQU90a8Bnl7PedU8cWYxkfYo,46
|
|
49
|
+
kleinkram-0.49.0.dev20250804105938.dist-info/top_level.txt,sha256=N3-sJagEHu1Tk1X6Dx1X1q0pLDNbDZpLzRxVftvepds,24
|
|
50
|
+
kleinkram-0.49.0.dev20250804105938.dist-info/RECORD,,
|
{kleinkram-0.49.0.dev20250804102856.dist-info → kleinkram-0.49.0.dev20250804105938.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|