-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Request: Batch Operations Support
Overview
Implement batch operations support to allow executing multiple pltr commands in a single operation, improving efficiency for automation and bulk operations.
Proposed Implementation
- Add
pltr batchcommand group - Support file-based batch execution:
pltr batch --file commands.txt - Support inline batch execution:
pltr batch "dataset get RID1; sql execute 'SELECT 1'; admin user current" - Include error handling and rollback capabilities for failed operations
- Support parallel execution where safe (read operations)
- Add progress reporting for long-running batch operations
Use Cases
- Data Pipeline Automation: Execute multiple dataset and SQL operations in sequence
- Bulk Administration: Manage multiple users, groups, or permissions at once
- CI/CD Integration: Run comprehensive data validation scripts
- Reporting Workflows: Generate multiple reports with single command
Technical Requirements
- Extend CLI framework to support batch command parsing
- Implement transaction-like behavior for related operations
- Add comprehensive error handling and recovery
- Support both sequential and parallel execution modes
- Include dry-run mode for validation
Acceptance Criteria
-
pltr batch --file batch.txtexecutes commands from file -
pltr batch "cmd1; cmd2; cmd3"executes inline commands - Error handling prevents partial state corruption
- Progress reporting for long operations
- Dry-run mode validates without execution
- Parallel execution for safe read operations
- Comprehensive test coverage
Priority: Medium
Labels: enhancement, Phase-8
Effort: Large
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request