UNPKG

helpsheet-cli

Version:

Modular offline terminal help system with Git, NPM, Docker commands and extensible architecture for more developer tools

156 lines (118 loc) โ€ข 5.13 kB
# Helpsheet CLI ๐Ÿš€ **Your comprehensive modular offline terminal help system** - Git, NPM, Docker commands and more! ## Vision Helpsheet is your go-to offline terminal companion with a modular architecture that supports multiple developer tools: - **Git** (Available) โœ… - 18 categories, 200+ commands - **NPM** (Available) โœ… - 4 categories, 32+ commands - **Docker** (Available) โœ… - 6 categories, 48+ commands - **GitHub CLI** (Planned) ๐Ÿšง - **Kubernetes** (Planned) ๐Ÿšง - **And many more developer tools...** ## Features - ๐ŸŽฏ **Interactive browsing** - Navigate through categorized commands - ๐Ÿ“‹ **Auto-copy to clipboard** - Commands are automatically copied when selected - ๐ŸŽจ **Beautiful terminal UI** - Clean, colorful interface with boxed output - ๐Ÿ”ง **Multi-tool support** - Git, NPM, Docker commands in one place - ๐Ÿ” **Global search** - Search across all tools or within specific tools - โš ๏ธ **Safety first** - Dangerous commands clearly marked in "Danger Zone" - ๐Ÿ”Œ **Modular architecture** - Easy to add new developer tools - ๐Ÿงน **Clean interface** - Collapsible sections and clear navigation ## Installation ```bash npm i -g helpsheet-cli ``` ## Usage After installation, run: ```bash helpsheet ``` You'll see a clean interface with: 1. **Tool Selection** - Choose from Git, NPM, Docker, or search across all 2. **Category Browsing** - Navigate through organized command categories 3. **Command Selection** - Pick commands to copy to clipboard 4. **Global Search** - Find commands across all tools ## Available Developer Tools ### ๐Ÿณ Docker (6 Categories) - Container Management - Run, stop, start containers - Image Management - Build, pull, tag images - Networking - Create and manage networks - Volumes & Data - Handle persistent storage - System & Info - Monitor and inspect Docker - Docker Compose - Multi-container applications ### ๐Ÿ“š Git (18 Categories) - Init & Clone - Repository initialization and cloning - Status & Information - Checking repository status and history - Staging & Commit - Adding files and making commits - Push & Pull - Synchronizing with remote repositories - Branching & Merging - Branch operations and merging - Remote & Config - Remote management and Git configuration - Stashing - Temporary storage of changes - Tags - Version tagging operations - Undoing Changes - Reverting and resetting operations - Search & Find - Finding commits, files, and content - Sync & Prune - Repository maintenance and cleanup - Delete & Cleanup - Removing branches and files - Submodules - Git submodule management - GitHub CLI (gh) - GitHub CLI commands - CI/CD & Automation - Continuous integration helpers - Advanced Operations - Cherry-picking, patches, worktrees - Hooks & Automation - Git hooks configuration - Danger Zone โš ๏ธ - Potentially destructive operations ### ๐Ÿ“ฆ NPM (4 Categories) - Package Management - Install, update, uninstall packages - Scripts & Execution - Run scripts and commands - Package Publishing - Publish and manage packages - Configuration & Info - Settings and package information ## Screenshots ``` _ _ _ _ _ | | | | ___| |_ __ ___| |__ ___ ___| |_ | |_| |/ _ \ | '_ \/ __| '_ \ / _ \/ _ \ __| | _ | __/ | |_) \__ \ | | | __/ __/ |_ |_| |_|\___|_| .__/|___/_| |_|\___|\___|\__| |_| ๐Ÿš€ Your comprehensive offline terminal help system Navigate through developer tools and find the commands you need ๐Ÿ“š 3 Development Knowledge Bases Available: (Use arrow keys and Enter to navigate) ? What would you like to do? โฏ ๐Ÿ”ฝ Expand knowledge bases details ๐Ÿš€ Start exploring tools โŒ Exit ``` ## Requirements - Node.js 14.0.0 or higher - npm or yarn ## Contributing Contributions are welcome! Please feel free to submit a Pull Request. 1. Fork the repository 2. Create your feature branch (`git checkout -b feature/AmazingFeature`) 3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ## Roadmap - [x] Git command cheatsheet (18 categories, 200+ commands) - [x] NPM command reference (4 categories, 32+ commands) - [x] Docker commands (6 categories, 48+ commands) - [x] Modular architecture with auto-discovery - [x] Global and tool-specific search - [x] Collapsible interface design - [ ] GitHub CLI commands - [ ] Kubernetes commands - [ ] Custom command categories - [ ] Plugin system for community contributions ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ## Author **SamY** - GitHub: [@Sammy949](https://github.com/Sammy949) - Email: urahsamuel0202@gmail.com ## Support If you find this tool helpful, please consider: - โญ Starring the repository - ๐Ÿ› Reporting bugs or requesting features via [issues](https://github.com/Sammy949/cheats-cli/issues) - ๐Ÿ’ก Contributing to the codebase - ๐Ÿš€ Suggesting new command categories to add --- Made with โค๏ธ for developers by developers **Helpsheet - Because sometimes you need help offline! ๐Ÿ“š**