Skip to content

[DOCS-4930] Add --order and --range flags to machines logs CLI reference - #5263

Merged
Jeremy Rose (jeremyrose-viam) merged 3 commits into
mainfrom
claude/add-cli-logs-order-range-flags
Aug 19, 2026
Merged

[DOCS-4930] Add --order and --range flags to machines logs CLI reference#5263
Jeremy Rose (jeremyrose-viam) merged 3 commits into
mainfrom
claude/add-cli-logs-order-range-flags

Conversation

@shannonbradshaw

Copy link
Copy Markdown
Collaborator

The RDK CLI gained --order and --range flags on the viam machines logs command (viamrobotics/rdk#6337), backed by the proto-level order and range fields added to GetRobotPartLogsRequest (viamrobotics/api#888) and the app backend implementation (viamrobotics/app#13101, viamrobotics/app#13122).

Summary

  • Add --range and --order to the machines logs flag table in CLI reference
  • Update --start default text to note it is overridden when --range is set
  • Add two usage examples to the troubleshooting guide showing --range and --order

Source changes

Docs changes

  • docs/cli/reference.md: Added --range and --order rows to the machines logs flag table; updated --start default text
  • docs/monitor/troubleshoot.md: Added two examples showing relative time window (--range 2h) and oldest-first ordering (--order asc)

How I found these

  • Backlog item api-af2e9b6-log-order-range was deferred "until CLI flags or SDK wrappers ship" — CLI flags shipped in rdk#6337
  • Grep confirmed --order and --range were not documented anywhere in the docs repo

Generated by daily docs change agent


Generated by Claude Code

The RDK CLI (rdk#6337) added --order (asc/desc) and --range (e.g. 10m,
10h, 10d) flags to the viam machines logs command for relative time
windows and sort control. Update the CLI reference flag table and add
usage examples to the troubleshooting guide.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015iCdDmnptAMYXX6DeXrEEP
@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit b12a51f
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a84aa6d89fc4e00086820b3
😎 Deploy Preview https://deploy-preview-5263--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: 41 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (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 Aug 14, 2026
@10zingpd 10zingpd changed the title Add --order and --range flags to machines logs CLI reference [DOCS-4930] Add --order and --range flags to machines logs CLI reference Aug 18, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed released in CLI 1.4.0.

@jeremyrose-viam
Jeremy Rose (jeremyrose-viam) merged commit 971a2cd into main Aug 19, 2026
13 checks passed
@jeremyrose-viam
Jeremy Rose (jeremyrose-viam) deleted the claude/add-cli-logs-order-range-flags branch August 19, 2026 16:27
@github-actions

Copy link
Copy Markdown

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting release 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.

5 participants