aap-utils 0.2.17__py3-none-any.whl → 0.2.18__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.
- aap_utils/cli.py +1 -4
- {aap_utils-0.2.17.dist-info → aap_utils-0.2.18.dist-info}/METADATA +1 -1
- aap_utils-0.2.18.dist-info/RECORD +8 -0
- aap_utils-0.2.17.dist-info/RECORD +0 -8
- {aap_utils-0.2.17.dist-info → aap_utils-0.2.18.dist-info}/WHEEL +0 -0
- {aap_utils-0.2.17.dist-info → aap_utils-0.2.18.dist-info}/entry_points.txt +0 -0
- {aap_utils-0.2.17.dist-info → aap_utils-0.2.18.dist-info}/top_level.txt +0 -0
aap_utils/cli.py
CHANGED
@@ -100,11 +100,8 @@ def main():
|
|
100
100
|
import sys
|
101
101
|
if len(sys.argv) > 2 and sys.argv[1] == "push" and sys.argv[2] == "env":
|
102
102
|
publish_env()
|
103
|
-
elif len(sys.argv) > 1 and sys.argv[1]
|
103
|
+
elif len(sys.argv) > 1 and "password" in sys.argv[1]:
|
104
104
|
# Example: python aap_utils.py b "\raiplatform@172.20.0.11's password:\n"
|
105
|
-
if len(sys.argv) < 3:
|
106
|
-
print("Usage: aap_utils b \"<prompt_bytes>\"")
|
107
|
-
return
|
108
105
|
prompt = sys.argv[2].encode()
|
109
106
|
password = get_ssh_password_if_prompted(prompt)
|
110
107
|
print(password)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
aap_utils/__init__.py,sha256=g6G3i3a5ANDJWqFX2oPsLpP93aTaoTj0gkMQzeqQIJw,172
|
2
|
+
aap_utils/cli.py,sha256=3aRyq4bj0MRn535uy6ptc5JD1Iib6wctc6Kz3XjTzM0,4128
|
3
|
+
aap_utils/register.py,sha256=0okAQ8b8wVtT_bSFCAsV3pcVOTifLHfkyCZzvLSpsYc,3964
|
4
|
+
aap_utils-0.2.18.dist-info/METADATA,sha256=PMsu5lpmisSq8dS3VX2YdeRy86uGkzEo2PvxP8OPZMo,373
|
5
|
+
aap_utils-0.2.18.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
+
aap_utils-0.2.18.dist-info/entry_points.txt,sha256=K-h2toLoqFxAg4Bx2r7FWggKgYnAX9zp9s4Ms4r-d6s,49
|
7
|
+
aap_utils-0.2.18.dist-info/top_level.txt,sha256=Qt5xmL8_0_jhMl9uA3lg-xnvs4nCEyVj1tBE4vnp36M,10
|
8
|
+
aap_utils-0.2.18.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
aap_utils/__init__.py,sha256=g6G3i3a5ANDJWqFX2oPsLpP93aTaoTj0gkMQzeqQIJw,172
|
2
|
-
aap_utils/cli.py,sha256=h0bwNdqpmrgCvApJx6votPSbEpdPbBZAEgdfKVqHu2w,4229
|
3
|
-
aap_utils/register.py,sha256=0okAQ8b8wVtT_bSFCAsV3pcVOTifLHfkyCZzvLSpsYc,3964
|
4
|
-
aap_utils-0.2.17.dist-info/METADATA,sha256=vJ9-rAB_9KE-Agy2tIgr8JqMTiUhcLwGMhHG2OIUv40,373
|
5
|
-
aap_utils-0.2.17.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
-
aap_utils-0.2.17.dist-info/entry_points.txt,sha256=K-h2toLoqFxAg4Bx2r7FWggKgYnAX9zp9s4Ms4r-d6s,49
|
7
|
-
aap_utils-0.2.17.dist-info/top_level.txt,sha256=Qt5xmL8_0_jhMl9uA3lg-xnvs4nCEyVj1tBE4vnp36M,10
|
8
|
-
aap_utils-0.2.17.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|