Skip to content

Core CLI structure and commands (review, scan, init, auth, hook) #1

Closed

Description

@ajianaz

Core CLI Structure

Implement the main CLI structure using clap with the following subcommands:

Subcommands

  • cora review — review git diffs (unstaged, staged, branch, stdin)
  • cora scan <path> — scan files/directories for review
  • cora init — create .cora.yaml config template
  • cora auth set/show — manage API key configuration
  • cora hook install/remove — git pre-commit hook management

Requirements

  • Use clap with derive macros
  • Graceful error handling with anyhow
  • Colored, human-friendly terminal output
  • Streaming status indicators during LLM calls

Acceptance Criteria

  • All subcommands parse and validate arguments
  • Help text is clear and complete
  • Errors are actionable and human-readable
  • Binary is cora (not cora-cli)

Activity

  1. added
    enhancement
    on May 30, 2026
  2. ajianaz commented on May 30, 2026

    @ajianaz
    CollaboratorAuthor

    ✅ Implemented in initial release (v0.1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions