Document CLI non-interactive mode flag requirements#5089
Open
shannonbradshaw wants to merge 1 commit into
Open
Document CLI non-interactive mode flag requirements#5089shannonbradshaw wants to merge 1 commit into
shannonbradshaw wants to merge 1 commit into
Conversation
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
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
198262f to
ba37b4b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Source changes
Docs changes
docs/cli/reference.md: Updatedmodule generateflag table to note that--name,--language,--public-namespace,--resource-subtype, and--model-nameare required in non-interactive mode. Added a paragraph above the flag table explaining this. Updatedfragments remove --fragmentdescription 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
cli-xref.mdformodule generateandfragments removemodule generateorfragments 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