ConsoleLauncher 1.0.1
See the version list below for details.
dotnet add package ConsoleLauncher --version 1.0.1
NuGet\Install-Package ConsoleLauncher -Version 1.0.1
<PackageReference Include="ConsoleLauncher" Version="1.0.1" />
paket add ConsoleLauncher --version 1.0.1
#r "nuget: ConsoleLauncher, 1.0.1"
// Install ConsoleLauncher as a Cake Addin #addin nuget:?package=ConsoleLauncher&version=1.0.1 // Install ConsoleLauncher as a Cake Tool #tool nuget:?package=ConsoleLauncher&version=1.0.1
ConsoleLauncher
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".
One day, I think ConsoleLauncher could be named as framework, but now it is just simple tool. ;>
Features / Roadmap
Tool:
- Print menu from options list
- Call method/actions from options list
- Add layout(header/footer) support
- Customize colors
- 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
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
Contact
Created by Jakub Gramburg (@Jacup) - feel free to contact me!
Product | Versions 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. |
-
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 |