This is a C#(dotnet) library for making your design of CUI tool better.
// using System;
// using System.Threading.Tasks;
// using ConsoleFlow;
//
// Create ProgressBar components.
//
var firstProgress = new ConsoleProgress(title: "ConsoleProgress", length: 50);
var secondProgress = new SimpleProgress(title: "SimpleProgress", length: 50);
//
// Attach them to ConsoleFlow.
//
var flow = new ConsoleFlow
(
firstProgress,
secondProgress
);
//
// Print contents to the terminal.
//
flow.Display();
//
// Change the value of ProgressBar.
// And you will see the components are changed corresponding to the value.
//
// Example:
//
// firstProgress.Value = 0.5f; // 50%
//