Home

Awesome

<div align="center"> <br> <h1> Console </h1> <p> Closed-loop application library for Cobra commands </p> <p> (ready-to-use menus, prompts, completions, and more) </p> </div> <!-- Badges --> <p align="center"> <a href="https://github.com/reeflective/console/actions/workflows/go.yml"> <img src="https://github.com/reeflective/console/actions/workflows/go.yml/badge.svg?branch=main" alt="Github Actions (workflows)" /> </a> <a href="https://github.com/reeflective/console"> <img src="https://img.shields.io/github/go-mod/go-version/reeflective/console.svg" alt="Go module version" /> </a> <a href="https://pkg.go.dev/github.com/reeflective/console"> <img src="https://img.shields.io/badge/godoc-reference-blue.svg" alt="GoDoc reference" /> </a> <a href="https://goreportcard.com/report/github.com/reeflective/console"> <img src="https://goreportcard.com/badge/github.com/reeflective/console" alt="Go Report Card" /> </a> <a href="https://codecov.io/gh/reeflective/console"> <img src="https://codecov.io/gh/reeflective/console/branch/main/graph/badge.svg" alt="codecov" /> </a> <a href="https://opensource.org/licenses/BSD-3-Clause"> <img src="https://img.shields.io/badge/License-BSD_3--Clause-blue.svg" alt="License: BSD-3" /> </a> </p>

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

Shell interface

Others

Documentation

You can install and use the example application console. This example application will give you a taste of the behavior and supported features. The following documentation is also available in the wiki:

Showcase

console

Status

The library is in a pre-release candidate status:

Please open a PR or an issue if you wish to bring enhancements to it. Other contributions, as well as bug fixes and reviews are also welcome.

Possible Improvements

The following is a currently moving list of possible enhancements to be made in order to reach v1.0: