deepctl 0.2.21__tar.gz → 0.2.22__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
3
- Version: 0.2.21
3
+ Version: 0.2.22
4
4
  Summary: Official Deepgram CLI for speech recognition and audio intelligence
5
5
  Author-email: Deepgram <devrel@deepgram.com>
6
6
  Maintainer-email: Deepgram <devrel@deepgram.com>
@@ -377,6 +377,25 @@ dg usage --last-week -o yaml
377
377
  When running in a non-TTY environment (pipes, CI, or AI coding tools), the CLI
378
378
  automatically switches to structured JSON output with plain-text status messages.
379
379
 
380
+ ### Forcing non-interactive mode
381
+
382
+ Three explicit ways to skip every prompt and run with defaults — useful from a
383
+ real terminal where auto-detection wouldn't otherwise trigger:
384
+
385
+ ```bash
386
+ # Global flag (works at any position)
387
+ dg --non-interactive listen recording.wav
388
+ dg listen --non-interactive recording.wav
389
+
390
+ # Environment variable (good for whole scripts)
391
+ CI=1 dg listen recording.wav
392
+ ```
393
+
394
+ Also recognised: `--agent-friendly` (alias intended for AI coding tools — same
395
+ effect plus JSON metadata output), and the auto-detected env vars
396
+ `CLAUDECODE`, `CLAUDE_CODE_ENTRYPOINT`, `CODEX_SANDBOX`, and Aider's
397
+ `OR_APP_NAME` / `OR_SITE_URL`.
398
+
380
399
  ## Plugins
381
400
 
382
401
  Extend the CLI with custom commands.
@@ -295,6 +295,25 @@ dg usage --last-week -o yaml
295
295
  When running in a non-TTY environment (pipes, CI, or AI coding tools), the CLI
296
296
  automatically switches to structured JSON output with plain-text status messages.
297
297
 
298
+ ### Forcing non-interactive mode
299
+
300
+ Three explicit ways to skip every prompt and run with defaults — useful from a
301
+ real terminal where auto-detection wouldn't otherwise trigger:
302
+
303
+ ```bash
304
+ # Global flag (works at any position)
305
+ dg --non-interactive listen recording.wav
306
+ dg listen --non-interactive recording.wav
307
+
308
+ # Environment variable (good for whole scripts)
309
+ CI=1 dg listen recording.wav
310
+ ```
311
+
312
+ Also recognised: `--agent-friendly` (alias intended for AI coding tools — same
313
+ effect plus JSON metadata output), and the auto-detected env vars
314
+ `CLAUDECODE`, `CLAUDE_CODE_ENTRYPOINT`, `CODEX_SANDBOX`, and Aider's
315
+ `OR_APP_NAME` / `OR_SITE_URL`.
316
+
298
317
  ## Plugins
299
318
 
300
319
  Extend the CLI with custom commands.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "deepctl"
7
- version = "0.2.21" # x-release-please-version
7
+ version = "0.2.22" # 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.21" # x-release-please-version
4
+ __version__ = "0.2.22" # x-release-please-version
5
5
  __author__ = "Deepgram"
6
6
  __email__ = "devrel@deepgram.com"
7
7
  __license__ = "MIT"
@@ -151,6 +151,13 @@ def preprocess_hyphenated_commands(args: list[str]) -> list[str]:
151
151
  is_flag=True,
152
152
  help="Show detailed performance timing information",
153
153
  )
154
+ @click.option(
155
+ "--non-interactive",
156
+ is_flag=True,
157
+ is_eager=True,
158
+ expose_value=False,
159
+ help="Skip interactive prompts; use defaults for any optional features.",
160
+ )
154
161
  @click.option(
155
162
  "--record-install-method",
156
163
  is_eager=True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deepctl
3
- Version: 0.2.21
3
+ Version: 0.2.22
4
4
  Summary: Official Deepgram CLI for speech recognition and audio intelligence
5
5
  Author-email: Deepgram <devrel@deepgram.com>
6
6
  Maintainer-email: Deepgram <devrel@deepgram.com>
@@ -377,6 +377,25 @@ dg usage --last-week -o yaml
377
377
  When running in a non-TTY environment (pipes, CI, or AI coding tools), the CLI
378
378
  automatically switches to structured JSON output with plain-text status messages.
379
379
 
380
+ ### Forcing non-interactive mode
381
+
382
+ Three explicit ways to skip every prompt and run with defaults — useful from a
383
+ real terminal where auto-detection wouldn't otherwise trigger:
384
+
385
+ ```bash
386
+ # Global flag (works at any position)
387
+ dg --non-interactive listen recording.wav
388
+ dg listen --non-interactive recording.wav
389
+
390
+ # Environment variable (good for whole scripts)
391
+ CI=1 dg listen recording.wav
392
+ ```
393
+
394
+ Also recognised: `--agent-friendly` (alias intended for AI coding tools — same
395
+ effect plus JSON metadata output), and the auto-detected env vars
396
+ `CLAUDECODE`, `CLAUDE_CODE_ENTRYPOINT`, `CODEX_SANDBOX`, and Aider's
397
+ `OR_APP_NAME` / `OR_SITE_URL`.
398
+
380
399
  ## Plugins
381
400
 
382
401
  Extend the CLI with custom commands.
File without changes
File without changes