cal-docs-client 1.0.0b1__py3-none-any.whl → 1.0.0b2__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.
- cal_docs_client/_version.py +1 -1
- cal_docs_client/cli.py +6 -2
- {cal_docs_client-1.0.0b1.dist-info → cal_docs_client-1.0.0b2.dist-info}/METADATA +1 -1
- {cal_docs_client-1.0.0b1.dist-info → cal_docs_client-1.0.0b2.dist-info}/RECORD +7 -7
- {cal_docs_client-1.0.0b1.dist-info → cal_docs_client-1.0.0b2.dist-info}/WHEEL +0 -0
- {cal_docs_client-1.0.0b1.dist-info → cal_docs_client-1.0.0b2.dist-info}/entry_points.txt +0 -0
- {cal_docs_client-1.0.0b1.dist-info → cal_docs_client-1.0.0b2.dist-info}/licenses/LICENSE +0 -0
cal_docs_client/_version.py
CHANGED
cal_docs_client/cli.py
CHANGED
|
@@ -499,8 +499,12 @@ def _main_inner(argv: list[str]) -> int:
|
|
|
499
499
|
)
|
|
500
500
|
return 1
|
|
501
501
|
|
|
502
|
-
# Get token: CLI > env > config
|
|
503
|
-
token =
|
|
502
|
+
# Get token: CLI > env > config (--token only available on upload command)
|
|
503
|
+
token = (
|
|
504
|
+
getattr(args, "token", None)
|
|
505
|
+
or os.environ.get("CAL_DOCS_TOKEN")
|
|
506
|
+
or config.get("token")
|
|
507
|
+
)
|
|
504
508
|
|
|
505
509
|
# Create client
|
|
506
510
|
client = DocsClient(server_url, token)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cal-docs-client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0b2
|
|
4
4
|
Summary: CLI client for cal-docs-server documentation API
|
|
5
5
|
Project-URL: Repository, https://gitlab.com/cyberassessmentlabs/public/tools/cal-docs-client
|
|
6
6
|
Project-URL: Documentation, https://cyberassessmentlabs.gitlab.io/public/docs/cal-docs-client/latest
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
cal_docs_client/__init__.py,sha256=-bKdz7ZdnfWxn04KMgNzpwUdxcKqRcR8DpcNM0NTBQA,929
|
|
2
2
|
cal_docs_client/__main__.py,sha256=fuTDiIx-veSOTEVhxxyKG3poYiQ2rk87Ko2Wwvpjj-4,965
|
|
3
|
-
cal_docs_client/_version.py,sha256=
|
|
3
|
+
cal_docs_client/_version.py,sha256=7FLdQjmThSjR48owthAC8GlPaQOpkyeL0Et1f4UOqMo,173
|
|
4
4
|
cal_docs_client/argbuilder.py,sha256=5cWtNrndIgp31hT_Za6pKQ60CBFtOdaLrPakjlDR9zA,64965
|
|
5
|
-
cal_docs_client/cli.py,sha256=
|
|
5
|
+
cal_docs_client/cli.py,sha256=c2Bt9BTZN6cw2UHVSTsaMkGTMYcdP17XAUTv8nvsWoA,16988
|
|
6
6
|
cal_docs_client/client.py,sha256=kqSrGUF6RPUXQ_FX4pzf6pv4n3vICQZKjFpPOl4_DqU,11089
|
|
7
7
|
cal_docs_client/version.py,sha256=265arrq2YMLxGA3YJqtnoqiTSgY8LQBJJsu0XAmbHJ8,1573
|
|
8
8
|
cal_docs_client/common/__init__.py,sha256=NtGfBqAAZKrZ1Il4ceHIlOxIZtybV5ApBeZDBsw6D_Q,1176
|
|
9
9
|
cal_docs_client/common/colour.py,sha256=yIU4xb9HHXQSSMdZrJUyfTpij58CUHgO4YLsWVzVAn8,6527
|
|
10
|
-
cal_docs_client-1.0.
|
|
11
|
-
cal_docs_client-1.0.
|
|
12
|
-
cal_docs_client-1.0.
|
|
13
|
-
cal_docs_client-1.0.
|
|
14
|
-
cal_docs_client-1.0.
|
|
10
|
+
cal_docs_client-1.0.0b2.dist-info/METADATA,sha256=ZCeeBC74uIdS2fiGRON0Nz9k-LJPGKsW4SJzMHj2pco,3022
|
|
11
|
+
cal_docs_client-1.0.0b2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
12
|
+
cal_docs_client-1.0.0b2.dist-info/entry_points.txt,sha256=IYL7hCO3QJ6Idq8_zAplfnRmoaMOaCNzg-3y4T_dQYs,61
|
|
13
|
+
cal_docs_client-1.0.0b2.dist-info/licenses/LICENSE,sha256=zIXdXMPhkY8xLlrhw7lOsWiFOecEYRukxgZIjMTKPuE,1078
|
|
14
|
+
cal_docs_client-1.0.0b2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|