deepctl 0.2.14__tar.gz → 0.2.16__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.
- {deepctl-0.2.14/src/deepctl.egg-info → deepctl-0.2.16}/PKG-INFO +1 -1
- {deepctl-0.2.14 → deepctl-0.2.16}/pyproject.toml +1 -1
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl/__init__.py +1 -1
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl/main.py +24 -0
- {deepctl-0.2.14 → deepctl-0.2.16/src/deepctl.egg-info}/PKG-INFO +1 -1
- {deepctl-0.2.14 → deepctl-0.2.16}/LICENSE +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/README.md +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/setup.cfg +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl.egg-info/SOURCES.txt +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl.egg-info/dependency_links.txt +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl.egg-info/entry_points.txt +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl.egg-info/requires.txt +0 -0
- {deepctl-0.2.14 → deepctl-0.2.16}/src/deepctl.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "deepctl"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.16" # x-release-please-version
|
|
8
8
|
description = "Official Deepgram CLI for speech recognition and audio intelligence"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""deepctl - Official command-line interface for Deepgram's speech
|
|
2
2
|
recognition API."""
|
|
3
3
|
|
|
4
|
-
__version__ = "0.2.
|
|
4
|
+
__version__ = "0.2.16" # x-release-please-version
|
|
5
5
|
__author__ = "Deepgram"
|
|
6
6
|
__email__ = "devrel@deepgram.com"
|
|
7
7
|
__license__ = "MIT"
|
|
@@ -19,6 +19,21 @@ install(show_locals=True)
|
|
|
19
19
|
console = Console()
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
def _record_install_method_cb(
|
|
23
|
+
ctx: click.Context, param: click.Parameter, value: str | None
|
|
24
|
+
) -> None:
|
|
25
|
+
"""Write the installation method to config. Called by install scripts."""
|
|
26
|
+
if not value or ctx.resilient_parsing:
|
|
27
|
+
return
|
|
28
|
+
try:
|
|
29
|
+
config = Config()
|
|
30
|
+
config._set_config_value("update.installation_method", value)
|
|
31
|
+
config.save()
|
|
32
|
+
except Exception:
|
|
33
|
+
pass
|
|
34
|
+
ctx.exit()
|
|
35
|
+
|
|
36
|
+
|
|
22
37
|
def preprocess_hyphenated_commands(args: list[str]) -> list[str]:
|
|
23
38
|
"""Convert hyphenated commands to nested commands.
|
|
24
39
|
|
|
@@ -136,6 +151,15 @@ def preprocess_hyphenated_commands(args: list[str]) -> list[str]:
|
|
|
136
151
|
is_flag=True,
|
|
137
152
|
help="Show detailed performance timing information",
|
|
138
153
|
)
|
|
154
|
+
@click.option(
|
|
155
|
+
"--record-install-method",
|
|
156
|
+
is_eager=True,
|
|
157
|
+
expose_value=False,
|
|
158
|
+
hidden=True,
|
|
159
|
+
callback=_record_install_method_cb,
|
|
160
|
+
metavar="METHOD",
|
|
161
|
+
help="Internal: record the installation method used by the install script",
|
|
162
|
+
)
|
|
139
163
|
@click.pass_context
|
|
140
164
|
def cli(
|
|
141
165
|
ctx: click.Context,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|