Skip to content

Phase 3.1: Bulk operations, git, and cluster commands #7

@omattsson

Description

@omattsson

Overview

Advanced commands for power users and DevOps workflows.

Commands

Command Description
bulk deploy --ids <id1,id2,...> Bulk deploy (up to 50)
bulk stop --ids <id1,id2,...> Bulk stop
bulk clean --ids <id1,id2,...> Bulk clean
bulk delete --ids <id1,id2,...> Bulk delete
git branches --repo <url> List branches for a repo
git validate --repo <url> --branch <name> Check branch exists
cluster list List registered clusters
cluster get <id> Show cluster detail + health summary
completion bash|zsh|fish Generate shell completions

Piping Support

Quiet mode enables piping workflows:

stackctl stack list --status stopped -q | xargs -I{} stackctl stack deploy {}
stackctl stack list --mine -q | xargs stackctl bulk stop --ids

Acceptance Criteria

  • Bulk operations report per-instance success/failure
  • Shell completions install and work correctly
  • cluster get shows health summary (node count, CPU/memory)

Depends On

API Endpoints

Method Path
POST /api/v1/stack-instances/bulk/{deploy,stop,clean,delete}
GET /api/v1/git/branches
GET /api/v1/git/validate
GET /api/v1/clusters
GET /api/v1/clusters/:id
GET /api/v1/clusters/:id/health/summary

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase-3Phase 3: Advanced Features + CI/CD

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions