Skip to content

Implement CLI argument parsing #3

Closed

Description

@unhappychoice

Overview

Implement command-line interface with support for repository path, commit hash, and speed options.

Tasks

  • Define CLI struct with clap:
    • --path <repo> (optional, defaults to current directory)
    • --commit <hash> (optional, for single-commit mode)
    • --speed <ms_per_char> (optional, typing speed)
  • Validate arguments (e.g., check if path is a valid Git repository)
  • Add help text and usage examples

Acceptance Criteria

git-logue --path /path/to/repo --commit abc123 --speed 50

Related

Part of #1

Activity

  1. added this to the v0.1.0 milestone on Nov 8, 2025
  2. added a commit that references this issue on Nov 8, 2025
    2841866
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions