TirsvadCLI.AnsiCode
0.1.1
dotnet add package TirsvadCLI.AnsiCode --version 0.1.1
NuGet\Install-Package TirsvadCLI.AnsiCode -Version 0.1.1
<PackageReference Include="TirsvadCLI.AnsiCode" Version="0.1.1" />
<PackageVersion Include="TirsvadCLI.AnsiCode" Version="0.1.1" />
<PackageReference Include="TirsvadCLI.AnsiCode" />
paket add TirsvadCLI.AnsiCode --version 0.1.1
#r "nuget: TirsvadCLI.AnsiCode, 0.1.1"
#addin nuget:?package=TirsvadCLI.AnsiCode&version=0.1.1
#tool nuget:?package=TirsvadCLI.AnsiCode&version=0.1.1
Ansi Code
Ansi codes library for console applications.
Table of Contents
- About the Project
- Features
- Getting Started
- Example
- Contributing
- Bug / Issue Reporting
- License
- Contact
- Acknowledgments
Overview
The AnsiCode library is a .NET library that provides a simple and efficient way to work with ANSI escape codes in console applications. It allows developers to easily format text, change colors, and create visually appealing command-line interfaces.
Features
- Text Formatting: Apply various text formatting options such as bold, underline, and italics.
- Color Support: Change text and background colors using ANSI escape codes.
Getting Started
To get started with the AnsiCode library, follow the instructions below to install it in your .NET project.
Prerequisites
- .NET 9.0 or later
Installation
Install via NuGet Package Manager Console
You can install the Form library using the NuGet Package Manager Console. Open the console and run the following command:
Install-Package TirsvadCLI.Form
Install via Visual Studio NuGet Package Manager
- Open your project in Visual Studio.
- Right-click on your project in the Solution Explorer and select "Manage NuGet Packages".
- Search for "TirsvadCLI.Form" in the NuGet Package Manager.
- Click "Install" to add the library to your project.
Install via .NET CLI
You can also install the Form library using the .NET CLI. Open a terminal and run the following command:
dotnet add package TirsvadCLI.Form
Clone the repo
If you want to clone the repository and build the library from source, you can do so using Git. Make sure you have Git installed on your machine. Then, run the following command in your terminal:
git clone git@github.com:TirsvadCLI/Dotnet.Lib.AnsiCode.git
Example
In the example you can see how to use the AnsiCode class.
Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Bug / Issue Reporting
If you encounter a bug or have an issue to report, please follow these steps:
Go to the Issues Page
Navigate to the GitHub Issues page.Click "New Issue"
Click the green "New Issue" button to create a new issue.Provide Details
- Title: Write a concise and descriptive title for the issue.
- Description: Include the following details:
- Steps to reproduce the issue.
- Expected behavior.
- Actual behavior.
- Environment details (e.g., OS, .NET version, etc.).
- Attachments: Add screenshots, logs, or any other relevant files if applicable.
- Submit the Issue
Once all details are filled in, click "Submit new issue" to report it.
License
Distributed under the GPL-3.0 License.
Contact
Jens Tirsvad Nielsen - LinkedIn
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.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 |
---|---|---|
0.1.1 | 136 | 4/18/2025 |
0.1.0-alpha.4 | 120 | 3/30/2025 |
0.1.0-alpha.3 | 117 | 3/30/2025 |