toru-vault 0.1.1__py3-none-any.whl → 0.1.2__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.
- toru_vault/__main__.py +5 -5
- {toru_vault-0.1.1.dist-info → toru_vault-0.1.2.dist-info}/METADATA +3 -3
- toru_vault-0.1.2.dist-info/RECORD +11 -0
- {toru_vault-0.1.1.dist-info → toru_vault-0.1.2.dist-info}/WHEEL +1 -1
- toru_vault-0.1.1.dist-info/RECORD +0 -11
- {toru_vault-0.1.1.dist-info → toru_vault-0.1.2.dist-info}/entry_points.txt +0 -0
- {toru_vault-0.1.1.dist-info → toru_vault-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {toru_vault-0.1.1.dist-info → toru_vault-0.1.2.dist-info}/top_level.txt +0 -0
toru_vault/__main__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env python3
|
2
2
|
"""
|
3
|
-
Command-line interface for the
|
3
|
+
Command-line interface for the ToruVault package.
|
4
4
|
"""
|
5
5
|
import argparse
|
6
6
|
import os
|
@@ -48,7 +48,7 @@ def list_projects(organization_id=None):
|
|
48
48
|
|
49
49
|
def init_vault():
|
50
50
|
"""
|
51
|
-
Initialize
|
51
|
+
Initialize ToruVault by storing BWS_TOKEN, ORGANIZATION_ID, and STATE_FILE in keyring.
|
52
52
|
|
53
53
|
Returns:
|
54
54
|
bool: True if initialization was successful
|
@@ -138,7 +138,7 @@ def init_vault():
|
|
138
138
|
except Exception as e:
|
139
139
|
print(f"Warning: Could not create state directory: {e}")
|
140
140
|
|
141
|
-
print("\
|
141
|
+
print("\nToruVault initialization completed successfully")
|
142
142
|
return True
|
143
143
|
|
144
144
|
|
@@ -146,7 +146,7 @@ def main():
|
|
146
146
|
"""
|
147
147
|
Main entry point for the command-line interface.
|
148
148
|
"""
|
149
|
-
parser = argparse.ArgumentParser(description="Bitwarden Secret Manager CLI")
|
149
|
+
parser = argparse.ArgumentParser(description="ToruVault: Bitwarden Secret Manager CLI")
|
150
150
|
subparsers = parser.add_subparsers(dest="command", help="Command to run")
|
151
151
|
|
152
152
|
# List command
|
@@ -154,7 +154,7 @@ def main():
|
|
154
154
|
list_parser.add_argument("--org-id", "-o", help="Organization ID")
|
155
155
|
|
156
156
|
# Init command
|
157
|
-
subparsers.add_parser("init", help="Initialize
|
157
|
+
subparsers.add_parser("init", help="Initialize ToruVault with BWS_TOKEN and ORGANIZATION_ID")
|
158
158
|
|
159
159
|
# Parse arguments
|
160
160
|
args = parser.parse_args()
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: toru-vault
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: ToruVault: A simple Python package for managing Bitwarden secrets
|
5
5
|
Author: Toru AI
|
6
6
|
Author-email: ToruAI <mpaszynski@toruai.com>
|
7
7
|
License: MIT
|
8
|
-
Project-URL: Homepage, https://github.com/ToruAI/
|
9
|
-
Project-URL: Issues, https://github.com/ToruAI/
|
8
|
+
Project-URL: Homepage, https://github.com/ToruAI/ToruVault
|
9
|
+
Project-URL: Issues, https://github.com/ToruAI/ToruVault/issues
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
11
11
|
Classifier: License :: OSI Approved :: MIT License
|
12
12
|
Classifier: Operating System :: OS Independent
|
@@ -0,0 +1,11 @@
|
|
1
|
+
toru_vault/__init__.py,sha256=Co9SSa9gFFTME0YcMzA1vEqJxs045-0kYfdP9GxGasU,177
|
2
|
+
toru_vault/__main__.py,sha256=C7_IR95L9yMpwx_Nj31lQDnA9q9bo56j7lk1s6aoL9I,6729
|
3
|
+
toru_vault/lazy_dict.py,sha256=OZVD-VYQHFRzMw1dOPXpagnddAJNNCZKtcdmTiio4lk,3232
|
4
|
+
toru_vault/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
5
|
+
toru_vault/vault.py,sha256=RLJanRaVnOb4SCvKjJiZJYlUX2QBHRzqpI-Z_vp32Jk,18981
|
6
|
+
toru_vault-0.1.2.dist-info/licenses/LICENSE,sha256=TbuuchABSutbmmaI1M232F22GsaI88_hwEvto5w_Ux4,1063
|
7
|
+
toru_vault-0.1.2.dist-info/METADATA,sha256=PjjMbtMSXK2etqyMFVTTVA9GJtUXTGQTchioAaUYrQI,7673
|
8
|
+
toru_vault-0.1.2.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
9
|
+
toru_vault-0.1.2.dist-info/entry_points.txt,sha256=dfqkbNftpmAv0iKzVgdkjymkCfj3TwzUrQm2PO7Xgxs,56
|
10
|
+
toru_vault-0.1.2.dist-info/top_level.txt,sha256=c9ulQ18kKs3HbkI5oeoLmnFTknjC0rY1BwsNLJKDua8,11
|
11
|
+
toru_vault-0.1.2.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
toru_vault/__init__.py,sha256=Co9SSa9gFFTME0YcMzA1vEqJxs045-0kYfdP9GxGasU,177
|
2
|
-
toru_vault/__main__.py,sha256=KRw1dF3tK71DDmAac30tbBgSBRCNyCLOe1NylNXxRi4,6702
|
3
|
-
toru_vault/lazy_dict.py,sha256=OZVD-VYQHFRzMw1dOPXpagnddAJNNCZKtcdmTiio4lk,3232
|
4
|
-
toru_vault/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
5
|
-
toru_vault/vault.py,sha256=RLJanRaVnOb4SCvKjJiZJYlUX2QBHRzqpI-Z_vp32Jk,18981
|
6
|
-
toru_vault-0.1.1.dist-info/licenses/LICENSE,sha256=TbuuchABSutbmmaI1M232F22GsaI88_hwEvto5w_Ux4,1063
|
7
|
-
toru_vault-0.1.1.dist-info/METADATA,sha256=gWmsLz2s7X-8pnnf-8TBvSpV4CnIXjjCsfI1RvORCC4,7665
|
8
|
-
toru_vault-0.1.1.dist-info/WHEEL,sha256=A8Eltl-h0W-qZDVezsLjjslosEH_pdYC2lQ0JcbgCzs,91
|
9
|
-
toru_vault-0.1.1.dist-info/entry_points.txt,sha256=dfqkbNftpmAv0iKzVgdkjymkCfj3TwzUrQm2PO7Xgxs,56
|
10
|
-
toru_vault-0.1.1.dist-info/top_level.txt,sha256=c9ulQ18kKs3HbkI5oeoLmnFTknjC0rY1BwsNLJKDua8,11
|
11
|
-
toru_vault-0.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|