{"repo":"reeflective/console","free":true,"listed":false,"github":"https://github.com/reeflective/console","clone":"git clone https://github.com/reeflective/console.git","description":"Closed-loop application library for Cobra commands (powerful, ready-to-run and easy to use)","language":"Go","stars":116,"topics":["console-application","menus","history","cli","cobra","command-line","console","go","golang","oh-my-posh"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Console Closed-loop application library for Cobra commands (ready-to-use menus, prompts, completions, and more) Console is an all-in-one console application library built on top of a readline shell and using Cobra commands. It aims to provide users with a modern interface at at minimal cost while allowing them to focus on developing their commands and application core: the console will then transparently interface with these commands, and provide the various features below almost for free. Features Menus & Commands - Bind cobra commands to provide the core functionality. - Multiple menus with their own command tree, prompt engines and special handlers. - All cobra settings can be modified, set and used freely, like in normal CLI workflows. - Bind handlers to special interrupt errors (eg. CtrlC / CtrlD ), per menu. Shell interface - Shell is powered by a readline instance, with full inputrc support and extended functionality. - All features of readline are supported in the console. It also allows the console to give: - Configurable bind keymaps, commands and options, sane defaults, and per-application configuration. - Out-of-the-box, advanced completions for commands, flags, positional and flag arguments. - Provided by readline and carapace: automatic usage & validation command/flags/args hints. - Syntax highlighting for commands (might be extended in the future). Others - Support for an arbitrary number of history sources, per menu. - Support for oh-my-posh prompts, per menu ","default_branch":null,"files":null,"tree":[],"storefront":"/r/reeflective","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reeflective/console/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."}