codedthemes-cli 0.1.14__tar.gz → 0.1.15__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codedthemes-cli
3
- Version: 0.1.14
3
+ Version: 0.1.15
4
4
  Summary: CLI tool for Code Theme and Integration
5
5
  Author: codedthemes
6
6
  Requires-Python: >=3.10
@@ -151,6 +151,14 @@ def handle_init():
151
151
 
152
152
  repo_abs_path = os.path.abspath(repo_root)
153
153
  repo_key = repo_abs_path.lower().replace(os.sep, "/")
154
+
155
+ # Check if already initialized to avoid redundant uploads
156
+ config = load_config()
157
+ existing_ws_id = config.get("workspaces", {}).get(repo_key)
158
+ if existing_ws_id:
159
+ # Fast check: exists?
160
+ pass # We could call a /verify endpoint here, but for now let's just proceed with upload as "sync"
161
+
154
162
  print("📦 Zipping and uploading repository (this may take a moment)...")
155
163
  upload_result = client.upload_workspace(repo_abs_path, user_email)
156
164
  workspace_id = upload_result.get("workspace_id")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codedthemes-cli
3
- Version: 0.1.14
3
+ Version: 0.1.15
4
4
  Summary: CLI tool for Code Theme and Integration
5
5
  Author: codedthemes
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codedthemes-cli"
7
- version = "0.1.14"
7
+ version = "0.1.15"
8
8
  description = "CLI tool for Code Theme and Integration"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"