Spectre.Console插件控制台应用程序使用
- 前言
- 一、Spectre.Console是什么?
- 二、安装
- 1.进入项目
- 引用
前言
最近项目中有使用using Spectre.Console.Testing,我查了一下安装了该插件:
一、Spectre.Console是什么?
A .NET 6/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications.
It is heavily inspired by the excellent Rich library for Python. For detailed usage instructions, please refer to the documentation at spectreconsole.
二、安装
1.进入项目
开始我通过Github的快速安装:
The fastest way of getting started using is to install the NuGet package.Spectre.Console
dotnet add package Spectre.Console
我在Nuget的命令行中安装,发现找不到project
Error "dotnet : Could not find any project in `C:\**."
我在cmd中进入项目:
success
引用
error
Github