try/part-1: rewrite UI steps as CLI commands (experiment)#5014
Closed
try/part-1: rewrite UI steps as CLI commands (experiment)#5014
Conversation
Replaces all Viam app UI interactions with equivalent viam CLI commands: - machine status check via `viam machines status` - part ID lookup via `viam machines part list` - camera component add/configure via `viam machines part add-resource` and `viam resource update` - camera verification via `viam machines part logs` and `part run` (GetImage) - fragment apply via `viam machines part fragments add` - vision service test via `viam machines part run` with streaming GetDetectionsFromCamera Notes fragment variable support gap (no CLI flag; requires JSON config or app UI). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
@shannonbradshaw this is very much a quick POC. I'm just kinda curious what you think about the approach. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ound Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Summary
viamCLI commandsWhat a reviewer should know
This is an exploratory PR to see what a CLI-only version of the tutorial looks like end-to-end. It's not necessarily intended to ship as-is — the main open question is how to handle fragment variable setting cleanly from the CLI (the
fragment_modsJSON workaround in the current draft is a bit rough).The live video feed from the camera test panel also has no CLI equivalent — the rewrite substitutes log inspection and a
GetImageAPI call, which is functional but less immediate.Changed files
docs/try/part-1.md— full rewrite of UI steps to CLI commands