Skip to content

Add --order and --range flags to machines logs CLI reference - #5263

Open
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit into
mainfrom
claude/add-cli-logs-order-range-flags
Open

Add --order and --range flags to machines logs CLI reference#5263
Shannon Bradshaw (shannonbradshaw) wants to merge 1 commit 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 7b8d67d
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a7edd0ebf8fde000871b716
😎 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: 39 (🔴 down 7 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (🟢 up 8 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
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.

4 participants