deepctl-core 0.2.4__tar.gz → 0.2.6__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_core-0.2.4 → deepctl_core-0.2.6}/PKG-INFO +1 -1
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/pyproject.toml +1 -1
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/plugin_manager.py +16 -9
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/skill_generator.py +2 -2
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core.egg-info/PKG-INFO +1 -1
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/README.md +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/setup.cfg +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/__init__.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/auth.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/base_command.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/base_group_command.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/client.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/config.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/models.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/output.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/plugin_env.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/py.typed +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core/timing.py +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core.egg-info/SOURCES.txt +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core.egg-info/dependency_links.txt +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core.egg-info/requires.txt +0 -0
- {deepctl_core-0.2.4 → deepctl_core-0.2.6}/src/deepctl_core.egg-info/top_level.txt +0 -0
|
@@ -422,15 +422,22 @@ class PluginManager:
|
|
|
422
422
|
for arg in reversed(arguments):
|
|
423
423
|
if arg.get("is_option", False):
|
|
424
424
|
# Add as option
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
425
|
+
is_flag = arg.get("is_flag", False)
|
|
426
|
+
# Flags default to False (not None) so Click passes the
|
|
427
|
+
# right type. Also skip `type` for flags — Click manages
|
|
428
|
+
# its own bool type for flags; passing type=str converts
|
|
429
|
+
# the False default to the string "False" which is truthy.
|
|
430
|
+
default_fallback = False if is_flag else None
|
|
431
|
+
option_kwargs: dict[str, Any] = {
|
|
432
|
+
"default": arg.get("default", default_fallback),
|
|
433
|
+
"help": arg.get("help", ""),
|
|
434
|
+
"required": arg.get("required", False),
|
|
435
|
+
"is_flag": is_flag,
|
|
436
|
+
"multiple": arg.get("multiple", False),
|
|
437
|
+
}
|
|
438
|
+
if not is_flag:
|
|
439
|
+
option_kwargs["type"] = arg.get("type", str)
|
|
440
|
+
cmd = click.option(*arg.get("names", []), **option_kwargs)(cmd)
|
|
434
441
|
else:
|
|
435
442
|
# Add as argument
|
|
436
443
|
cmd = click.argument(
|
|
@@ -551,8 +551,8 @@ def render_developer_guide(
|
|
|
551
551
|
lines.append("")
|
|
552
552
|
lines.append("```bash")
|
|
553
553
|
lines.append("dg login # Authenticate")
|
|
554
|
-
lines.append("dg
|
|
555
|
-
lines.append("dg
|
|
554
|
+
lines.append("dg listen audio.wav # Transcribe a file")
|
|
555
|
+
lines.append("dg listen --mic # Live transcription from mic")
|
|
556
556
|
lines.append('dg speak "Hello world" # Text-to-speech')
|
|
557
557
|
lines.append("dg projects list # List projects")
|
|
558
558
|
lines.append("dg usage # View API usage")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|