Skip to content

Create a CLI for using potpie locally  #224

@dhirenmathur

Description

@dhirenmathur

Create Development CLI for Local PotPie Usage

Objective

Create a command-line interface for local development interactions with PotPie.

Commands

0. init

potpie start

and

potpie stop

commands to turn on and off the server.

1. parse

potpie parse <repo-path> [--branch <branch-name>]
  • Submit repository for parsing
  • Poll status until complete
  • Display progress/status
  • Block until ready

2. chat

potpie chat <project-id> --agent <agent-name> [--branch <branch-name>]
  • Validate project readiness
  • Initialize conversation with specified agent
  • Interactive console for messages
  • Display responses

Requirements

  • Input validation for repo paths and branches
  • Status feedback during parsing
  • Error handling for invalid inputs
  • Clean console output formatting
  • Session management for chat

Success Criteria

  • Successfully parses repositories
  • Shows parse status clearly
  • Validates project status
  • Handles errors gracefully

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions