cathode
所属分类:C#编程
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2023-08-08 19:26:06
上 传 者:
sh-1993
说明: 一种以终端为中心的.NET控制台API.、。,
(A terminal-centric replacement for the .NET console APIs.,)
文件列表:
.editorconfig (203, 2024-01-10)
.examples (12, 2024-01-10)
.fleet/ (0, 2024-01-10)
.fleet/settings.json (83, 2024-01-10)
.globalconfig (40442, 2024-01-10)
.markdownlint.json (1609, 2024-01-10)
.stylecop.json (1706, 2024-01-10)
.vscode/ (0, 2024-01-10)
.vscode/extensions.json (476, 2024-01-10)
.vscode/launch.json (2029, 2024-01-10)
.vscode/settings.json (116, 2024-01-10)
.vsconfig (208, 2024-01-10)
Directory.Build.props (2237, 2024-01-10)
Directory.Build.rsp (124, 2024-01-10)
Directory.Build.targets (3241, 2024-01-10)
Directory.Packages.props (1514, 2024-01-10)
LICENSE-0BSD (639, 2024-01-10)
PACKAGE.md (1066, 2024-01-10)
RELEASE.md (1581, 2024-01-10)
RESOURCES.md (1543, 2024-01-10)
cake (175, 2024-01-10)
cake.config (127, 2024-01-10)
cathode.cake (4394, 2024-01-10)
cathode.ico (82174, 2024-01-10)
cathode.png (8197, 2024-01-10)
cathode.proj (141, 2024-01-10)
cathode.sln (10575, 2024-01-10)
cathode.svg (3606, 2024-01-10)
doc/ (0, 2024-01-10)
... ...
# Cathode
A terminal-centric replacement for the .NET console APIs.
[![License](https://img.shields.io/github/license/vezel-dev/cathode?color=brown)](LICENSE-0BSD)
[![Commits](https://img.shields.io/github/commit-activity/m/vezel-dev/cathode/master?label=commits&color=slateblue)](https://github.com/vezel-dev/cathode/commits/master)
[![Build](https://img.shields.io/github/actions/workflow/status/vezel-dev/cathode/build.yml?branch=master)](https://github.com/vezel-dev/cathode/actions/workflows/build.yml)
[![Discussions](https://img.shields.io/github/discussions/vezel-dev/cathode?color=teal)](https://github.com/vezel-dev/cathode/discussions)
[![Discord](https://img.shields.io/discord/960716713136095232?color=peru&label=discord)](https://discord.gg/NSSgCYuf2m)
--------------------------------------------------------------------------------
**Cathode** is a toolkit for writing terminal-based applications. It is
effectively a complete replacement for the .NET console APIs.
With Windows Terminal having replaced the old Windows console host, it makes
little sense for console interaction to still be centered around the old console
host and the many limitations it had. **Cathode** provides an API centered
around a [VT100 terminal](https://vt100.net) with some extensions from later
models and modern terminal emulators. It works on all desktop platforms that
.NET supports.
Please note that, since **Cathode** replaces a very fundamental component of the
framework, the use of certain framework APIs (e.g. `System.Console`) becomes
problematic. An analyzer will automatically diagnose usage of such APIs and
suggest working replacements.
## Usage
This project offers the following packages:
| Package | Description | Downloads |
| -: | - | :- |
| [![Vezel.Cathode][core-img]][core-pkg] | Provides the core terminal API. | ![Downloads][core-dls] |
| [![Vezel.Cathode.Hosting][hosting-img]][hosting-pkg] | Provides the terminal hosting model. | ![Downloads][hosting-dls] |
| [![Vezel.Cathode.Extensions][extensions-img]][extensions-pkg] | Provides terminal hosting and logging for the .NET Generic Host. | ![Downloads][extensions-dls] |
[core-pkg]: https://www.nuget.org/packages/Vezel.Cathode
[hosting-pkg]: https://www.nuget.org/packages/Vezel.Cathode.Hosting
[extensions-pkg]: https://www.nuget.org/packages/Vezel.Cathode.Extensions
[core-img]: https://img.shields.io/nuget/v/Vezel.Cathode?label=Vezel.Cathode
[hosting-img]: https://img.shields.io/nuget/v/Vezel.Cathode.Hosting?label=Vezel.Cathode.Hosting
[extensions-img]: https://img.shields.io/nuget/v/Vezel.Cathode.Extensions?label=Vezel.Cathode.Extensions
[core-dls]: https://img.shields.io/nuget/dt/Vezel.Cathode?label=
[hosting-dls]: https://img.shields.io/nuget/dt/Vezel.Cathode.Hosting?label=
[extensions-dls]: https://img.shields.io/nuget/dt/Vezel.Cathode.Extensions?label=
To install a package, run `dotnet add package
`.
See the [sample programs](src/samples) for examples of what the API can do. The
samples can be run with
[`dotnet example`](https://github.com/patriksvensson/dotnet-example).
For more information, please visit the
[project home page](https://docs.vezel.dev/cathode).
## Building
Simply run `./cake` (a [Bash](https://www.gnu.org/software/bash) script) to
build artifacts. This will use the `Debug` configuration by default, which is
suitable for development and debugging. Pass `-c Release` instead to use that
configuration, resulting in an optimized build.
## License
This project is licensed under the terms found in
[`LICENSE-0BSD`](LICENSE-0BSD).
近期下载者:
相关文件:
收藏者: