Skip to content

Change CLI from hyphenated commands to subcommands #49

@frankbria

Description

@frankbria

Summary

Change the CLI interface from hyphenated commands to modern subcommand structure for better UX and consistency with common CLI patterns.

Current Commands (Hyphenated)

parallel-cc mcp-serve
parallel-cc watch-merges
parallel-cc merge-status
parallel-cc sandbox-run
parallel-cc sandbox-logs
parallel-cc sandbox-download
parallel-cc sandbox-kill

Proposed Commands (Subcommands)

parallel-cc mcp serve
parallel-cc watch merges
parallel-cc merge status
parallel-cc sandbox run
parallel-cc sandbox logs
parallel-cc sandbox download
parallel-cc sandbox kill

Benefits

  • Modern CLI patterns: Follows conventions used by popular tools (git, kubectl, gh, docker)
  • Better organization: Logical grouping of related commands (all sandbox operations under sandbox namespace)
  • Improved discoverability: Users can run parallel-cc sandbox to see available sandbox operations
  • Cleaner help output: Subcommands can have their own help sections

Implementation Considerations

  • Maintain backward compatibility by supporting both formats during transition period
  • Add deprecation warnings for hyphenated versions
  • Update all documentation (README, docs/, examples)
  • Update bash/zsh completion scripts

Breaking Change

This is a breaking change that should be part of a major version bump (v2.0.0).

Co-Authored-By: Warp agent@warp.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions