Skip to content

Phase 2.1: Template and definition commands #5

@omattsson

Description

@omattsson

Overview

Template browsing, instantiation, and stack definition management from the CLI.

Commands

Command Description
template list List templates (--published filter)
template get <id> Show template detail + charts
template instantiate <id> Create definition + instance from template (flags or interactive)
template quick-deploy <id> One-click: template → instance → deploy
definition list List definitions (--mine filter)
definition get <id> Show definition detail + charts
definition create Create from flags or --from-file
definition update <id> Update definition
definition delete <id> Delete definition
definition export <id> Export as JSON bundle to file
definition import Import from JSON bundle (--file <path>)

Acceptance Criteria

  • template instantiate creates a working instance that can be deployed
  • template quick-deploy performs the full flow (create + deploy) in one command
  • definition export | definition import round-trips cleanly
  • All commands support --output json

Depends On

API Endpoints

Method Path
GET /api/v1/templates
GET /api/v1/templates/:id
POST /api/v1/templates/:id/instantiate
POST /api/v1/templates/:id/quick-deploy
GET/POST/PUT/DELETE /api/v1/stack-definitions[/:id]
GET /api/v1/stack-definitions/:id/export
POST /api/v1/stack-definitions/import

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase-2Phase 2: Templates, Definitions, Overrides

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions