Skip to content

[DO NOT MERGE] feat(org): add org export devices command with product/group filtering#892

Draft
laupow wants to merge 2 commits intomasterfrom
feature/export
Draft

[DO NOT MERGE] feat(org): add org export devices command with product/group filtering#892
laupow wants to merge 2 commits intomasterfrom
feature/export

Conversation

@laupow
Copy link
Contributor

@laupow laupow commented Jan 21, 2026

Add CLI command particle org export devices <org> to export all devices from an organization with optional filtering by product IDs and group names.

Features:

  • CSV (default) and JSON output formats
  • Product ID filtering via --product/-p option
  • Group name filtering via --group/-g option
  • File output support via --output/-o option
  • Progress display during large exports
  • Pagination with automatic retry and exponential backoff for transient failures
  • Handles 50k+ device exports without timeout

API client method added: exportOrgDevices()

Description

How to Test

Related Issues / Discussions

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA
  • Problem and solution clearly stated
  • Tests have been provided
  • Docs have been updated
  • CI is passing

Add CLI command `particle org export devices <org>` to export all devices
from an organization with optional filtering by product IDs and group names.

Features:
- CSV (default) and JSON output formats
- Product ID filtering via --product/-p option
- Group name filtering via --group/-g option
- File output support via --output/-o option
- Progress display during large exports
- Pagination with automatic retry and exponential backoff for transient failures
- Handles 50k+ device exports without timeout

API client method added: exportOrgDevices()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update command list expectations to include new org export command.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant