ConsoleLauncher 0.3.0-alpha

This is a prerelease version of ConsoleLauncher.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ConsoleLauncher --version 0.3.0-alpha                
NuGet\Install-Package ConsoleLauncher -Version 0.3.0-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ConsoleLauncher" Version="0.3.0-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConsoleLauncher --version 0.3.0-alpha                
#r "nuget: ConsoleLauncher, 0.3.0-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ConsoleLauncher as a Cake Addin
#addin nuget:?package=ConsoleLauncher&version=0.3.0-alpha&prerelease

// Install ConsoleLauncher as a Cake Tool
#tool nuget:?package=ConsoleLauncher&version=0.3.0-alpha&prerelease                

ConsoleLauncher build

ConsoleLaucher is simple tool for your .NET console application. ConsoleLauncher helps you to create useful and user-friedly navigation menu in just two steps.

Table of Contents

General Information

ConsoleLauncher is a .NET tool, that helps you to create simply, user-friendly console menu. Navigation is handled by using Arrows (alt. PgUp/Down), Enter, Esc.
No longer force your users to write "yes/no". Console Apps are still fun in the XXI century, but make them more user-friendly!

Features / Roadmap

Tool:
  • Print menu from options list
  • Call method/actions from options list
  • Add layout(header/footer) support
  • Customize style(colors, keys)
  • Unit tests
Environment:
  • Add readme
  • Automate build process:
    • Build on PR push
    • Automatic publishing to nuget.org
    • Automatic releases

Get Started

Download

Latest version is available always on www.nuget.org/.../ConsoleLauncher

Installation via nuget.org

Install latest version

Install-Package ConsoleLauncher

Until project is still released as preview version, please provide specific version, eg:

Install-Package ConsoleLauncher -Version 0.x.x-alpha

Usage

Definition of list of menu entries with actions :

List<Option> options = new()
{
    new Option("Submenu", Submenu),
    new Option("Option 1 as action", Option1),
    new Option("Option 1 as method", () => Option1()),
    new Option("Empty option 2"),
    new Option("Exit", () => Environment.Exit(0)),
};

Initializing menu:

Launcher.Menu(options);

For more examples, please refer to the ConsoleLauncher.Sample

Screenshots

TBD

Contact

Created by Jakub Gramburg (@Jacup) - feel free to contact me!

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 223 1/2/2024
1.0.1 1,139 8/20/2022
0.4.0-alpha 193 4/29/2022
0.3.0-alpha 190 4/25/2022
0.2.0-alpha 176 4/24/2022
0.1.3-alpha 184 4/22/2022
0.1.2-alpha 168 4/22/2022
0.1.1-alpha 182 4/22/2022