Building CLI applications and Terminal User Interfaces (TUIs)
When building terminal-based applications, CLIs for tools/libraries, TUIs for data visualization, or interactive command-line tools.
CLI Structure:
├── main command
│ ├── subcommand --option <arg>
│ ├── subcommand --flag
│ └── subcommand <arg>
TUI Structure:
├── App
│ ├── Layout
│ │ ├── Header
│ │ ├── Sidebar
│ │ └── Content
│ └── Widgets
│ ├── Button
│ ├── Input
│ ├── List
│ └── Table
pip install textual rich
pip install typer rich
npm install @inquirer/prompts commander chalk