Skip to content

Document CLI non-interactive mode flag requirements#5089

Open
shannonbradshaw wants to merge 1 commit into
mainfrom
claude/cli-non-interactive-mode-2026-06-04
Open

Document CLI non-interactive mode flag requirements#5089
shannonbradshaw wants to merge 1 commit into
mainfrom
claude/cli-non-interactive-mode-2026-06-04

Conversation

@shannonbradshaw

Copy link
Copy Markdown
Collaborator

Source changes

Docs changes

  • docs/cli/reference.md: Updated module generate flag table to note that --name, --language, --public-namespace, --resource-subtype, and --model-name are required in non-interactive mode. Added a paragraph above the flag table explaining this. Updated fragments remove --fragment description to note it is required in non-interactive mode.
  • docs/cli/automate-with-scripts.md: Added a "Non-interactive mode" section documenting which commands require explicit flags when running without a terminal.

How I found these

  • Xref lookup: cli-xref.md for module generate and fragments remove
  • Grep matches: 21 files reference module generate or fragments remove; only the reference page and scripting guide needed updates (other pages already use explicit flags in their examples)

Generated by daily docs change agent


Generated by Claude Code

@netlify

netlify Bot commented Jun 4, 2026

Copy link
Copy Markdown

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit ba37b4b
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a2e6f6394ded5000844c375
😎 Deploy Preview https://deploy-preview-5089--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 37 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Jun 4, 2026
@viamrobotics-overwatch

Copy link
Copy Markdown

Hey @shannonbradshaw — CI is green and no reviewer is assigned yet. Could you request one when you have a chance?

Auto-comment from overwatch. Will not re-nudge for 7 days.

The CLI now detects whether stdin is connected to a terminal. When
running without a TTY (scripts, CI/CD), commands that normally prompt
interactively require explicit flags instead. Update the reference
docs and scripting guide to document this behavior for `module generate`
and `machines part fragments remove`.

Source: viamrobotics/rdk#5854

https://claude.ai/code/session_01NytZJdHY4wUwNdaDJzGtsr
@shannonbradshaw shannonbradshaw force-pushed the claude/cli-non-interactive-mode-2026-06-04 branch from 198262f to ba37b4b Compare June 14, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants