Command
The GitHub Achievement CLI is invoked with a single command:Interactive TUI Interface
The CLI uses an interactive terminal UI (TUI) built with Ink and React. Unlike traditional command-line tools, there are no command-line flags or arguments. All interaction happens through an intuitive menu-driven interface.Key Features
- Pure interactive: Navigate using arrow keys and Enter
- Visual feedback: Spinners, status messages, and colored output
- Multi-screen flow: Guided setup wizard and operation screens
- No manual configuration: Interactive prompts for all settings
First Run Experience
When you rungithub-achievement for the first time:
- Language Selection - Choose your preferred language
- Setup Wizard - Configure GitHub tokens and target repository
- Main Menu - Access all CLI features
Language Selection
On first launch, you’ll be prompted to select your language. This preference is saved and can be changed later through reconfiguration.Navigation Controls
All screens use consistent keyboard controls:- ↑/↓ - Navigate menu items or lists
- Enter - Select/confirm current item
- Ctrl+C - Exit the application at any time
Entry Point
The CLI is registered as a Node.js binary inpackage.json:8:
src/index.tsx:17) simply renders the React-based Ink application:
Requirements
- Node.js: >=18.0.0
- GitHub Personal Access Token: Required for API access
- Target Repository: Where achievements will be created
Next Steps
- Interactive Menu Reference - Learn about all menu options
- Configuration Guide - Set up tokens and repositories