Skip to content

A light-weight library for fluent Console UI development.

License

Notifications You must be signed in to change notification settings

DerekGooding/ConsoleHero

Repository files navigation

ConsoleHero

NuGet .NET 7 .NET 8 .NET 9

GitHub license GitHub issues GitHub build Coverage Status

A light-weight library to help quickly and fluently develop Console application UI. Recommended for tool development or text-based games.

Fully Documented. Fully Tested. Easy to use!

Turn

Before

Into

After

Types of Nodes

Menu

The backbone of the library. Menus take a fluent approach to options and do all the heavy lifting with console printing and handling for you. Invalid inputs, numbering the options, coloring the text and formalizing everything into a neat, fluent builder.

Paragraph

A simple way to store text information. No more Console.Writeline peppering your codebase. Create a few paragraphs and call them intuitively from another Node.

Request

The obvious input requirement. Menus only get you so far. Eventually you need to request a string from the user like their name or a date. Or how many iterations to loop. This is where requests come in. Quickly create an intuitive user end-point with a few lines of fluent code.

Tune

Who doesn't like a beep or audio queue in their menus? Uses enums and a builder to make note generation intuitive. You can still include custom frequencies but more often then not, you're using a quick Quarter B note or a Half D.

About

A light-weight library for fluent Console UI development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages