Skip to content

Build Python CLI (itsup) for V2 #10

@Morriz

Description

@Morriz

Objective

Complete CLI with apply, svc, validate commands. Smart sync on apply, docker compose passthrough for svc.

Prerequisites

Issue #8 completed (write-artifacts.py updated)

Implementation Steps

See todos/IMPLEMENTATION.md lines 1476-1851.

Commands to implement:

  • itsup apply - Regenerate all + deploy all (up -d)
  • itsup apply <project> - Smart sync + deploy one (up -d)
  • itsup svc <project> <cmd> - Docker compose passthrough (no sync)
  • itsup validate [project] - Validate configs

Files:

  • itsup (main CLI entry point)
  • commands/apply.py
  • commands/svc.py (with tab completion)
  • commands/validate.py

Success Criteria

  • All commands work as specified
  • apply uses -d flag (daemonize)
  • Tab completion works for projects/commands/services
  • Good error messages

Estimated Time

2-3 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions