{"repo":"jpetrucciani/pog","free":true,"listed":false,"github":"https://github.com/jpetrucciani/pog","clone":"git clone https://github.com/jpetrucciani/pog.git","description":"🤯 a new, powerful way to do bash scripts","language":"Nix","stars":196,"topics":["bash","cli","nix"],"license":"MIT","category":"cli-tools","readme_excerpt":"🤯 pog pog is a nix library that enables you to create comprehensive CLI tools with rich features like flag parsing, auto-documentation, tab completion, and interactive prompts - all purely in Nix leveraging the vast ecosystem of nixpkgs. Features - 🚀 Create full-featured CLI tools in pure Nix (and bash) - 📖 Automatic help text generation and documentation - 🔄 Native completion for Bash, Fish, Zsh, Nushell, PowerShell, and more - 🎯 Interactive prompting capabilities - 🎨 Rich terminal colors and styling - 🛠 Comprehensive flag system with: - Short and long flag options - Environment variable overrides - Default values - Required flags with prompts - Boolean flags - Optional and repeatable values - Persistent and mutually exclusive flags - Custom completion functions - 🌲 Recursive subcommands with aliases, groups, defaults, and parsing modes - ↪️ Opt-in pass-through parsing for wrappers around another CLI - ⚡ Runtime input management - 📦 Host-script, Arx, and AppImage output formats - 🔍 Verbose mode support - 🎭 Color toggle support - 🧰 Helper functions for common operations - debug for included verbose flag - die for exiting with a message and custom exit code - much more! Quick Start regular import: or if you want to add it as an overlay to nixpkgs, you can add pog.overlays.default to your nixpkgs overlays. using flakes: Testing Run every behavioral test, including the portable Arx and AppImage runtime checks, with: For only the fast renderer, command, completion, an","default_branch":null,"files":null,"tree":[],"storefront":"/r/jpetrucciani","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jpetrucciani/pog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}