tijatools.terminal 1.0.5051708

dotnet add package tijatools.terminal --version 1.0.5051708
NuGet\Install-Package tijatools.terminal -Version 1.0.5051708
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="tijatools.terminal" Version="1.0.5051708" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add tijatools.terminal --version 1.0.5051708
#r "nuget: tijatools.terminal, 1.0.5051708"
#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 tijatools.terminal as a Cake Addin
#addin nuget:?package=tijatools.terminal&version=1.0.5051708

// Install tijatools.terminal as a Cake Tool
#tool nuget:?package=tijatools.terminal&version=1.0.5051708

tijatools

Descriptions

The tijatools is a Python package that allows you to display dynamic and customizable progress rings in the terminal. It's an ideal tool for providing visual feedback on the status of long-running operations.

Installation

pip install tijatools

## Ussage
using Tijatools.Terminal.Progress;

internal class Program
{
    private static async Task Main(string[] args)
    {
        Console.WriteLine("Run tests:");
        var pr = new ProgressRing();
        var pr2 = new ProgressRing(rotateSymbols: ["1", "2", "3", "4", "3", "2"] );

        Func<Task> asyncOperation = async () =>
        {
            await Task.Delay(TimeSpan.FromSeconds(10));
        };

        Console.WriteLine("RunWithAnimation:");
        await pr.RunWithAnimation(asyncOperation);
        Console.WriteLine("Rotate:");
        await pr2.RunWithAnimation(asyncOperation, mode : AnimationMode.Rotate);
        Console.WriteLine("Bounce:");
        await pr.RunWithAnimation(asyncOperation, mode : AnimationMode.Bounce);
        Console.WriteLine("Bounce2:");
        await pr.RunWithAnimation(asyncOperation, mode : AnimationMode.Bounce2);
        Console.WriteLine("Loading:");
        await pr.RunWithAnimation(asyncOperation, mode : AnimationMode.Loading);
    }
}
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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
1.0.5051708 93 5/5/2024

Basic features