deepctl-cmd-init 0.0.4__tar.gz → 0.1.0__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: deepctl-cmd-init
3
- Version: 0.0.4
3
+ Version: 0.1.0
4
4
  Summary: Init command for deepctl — scaffold Deepgram starter apps
5
5
  Author-email: Deepgram <devrel@deepgram.com>
6
6
  Maintainer-email: Deepgram <devrel@deepgram.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "deepctl-cmd-init"
7
- version = "0.0.4" # x-release-please-version
7
+ version = "0.1.0" # x-release-please-version
8
8
  description = "Init command for deepctl — scaffold Deepgram starter apps"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -6,6 +6,7 @@ from pathlib import Path
6
6
  from typing import Any
7
7
 
8
8
  from deepctl_core import (
9
+ AuthenticationError,
9
10
  AuthManager,
10
11
  BaseCommand,
11
12
  Config,
@@ -207,8 +208,10 @@ class InitCommand(BaseCommand):
207
208
  api_key = auth_manager.get_api_key()
208
209
  if api_key:
209
210
  lifecycle.inject_env(dest, api_key)
210
- except Exception:
211
- pass # Auth is optional
211
+ except AuthenticationError as exc:
212
+ console.print(
213
+ f"[yellow]Could not inject Deepgram credentials:[/yellow] {exc}"
214
+ )
212
215
 
213
216
  # ── Setup (make check-prereqs && make init) ────────────────────────────
214
217
  installed = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deepctl-cmd-init
3
- Version: 0.0.4
3
+ Version: 0.1.0
4
4
  Summary: Init command for deepctl — scaffold Deepgram starter apps
5
5
  Author-email: Deepgram <devrel@deepgram.com>
6
6
  Maintainer-email: Deepgram <devrel@deepgram.com>