ConsoleLauncher 0.4.0-alpha
See the version list below for details.
dotnet add package ConsoleLauncher --version 0.4.0-alpha
NuGet\Install-Package ConsoleLauncher -Version 0.4.0-alpha
<PackageReference Include="ConsoleLauncher" Version="0.4.0-alpha" />
paket add ConsoleLauncher --version 0.4.0-alpha
#r "nuget: ConsoleLauncher, 0.4.0-alpha"
// Install ConsoleLauncher as a Cake Addin #addin nuget:?package=ConsoleLauncher&version=0.4.0-alpha&prerelease // Install ConsoleLauncher as a Cake Tool #tool nuget:?package=ConsoleLauncher&version=0.4.0-alpha&prerelease
ConsoleLauncher ![build](https://github.com/Jacup/ConsoleLauncher/actions/workflows/dotnet.yml/badge.svg)
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
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 | 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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 | 236 | 1/2/2024 |
1.0.1 | 1,241 | 8/20/2022 |
0.4.0-alpha | 198 | 4/29/2022 |
0.3.0-alpha | 195 | 4/25/2022 |
0.2.0-alpha | 181 | 4/24/2022 |
0.1.3-alpha | 189 | 4/22/2022 |
0.1.2-alpha | 175 | 4/22/2022 |
0.1.1-alpha | 187 | 4/22/2022 |