Console-based text editor tool for .NET Core CLI.
Nuget packages:
Yae uses .NET Core CLI toolchain for installing.
dotnet tool install -g Yae.Tool
dotnet new -i Yae.Templates
dotnet tool uninstall -g Yae.Tool
dotnet new -u Yae.Templates
Options:
- get help : --help
- get version : --version
- open file : -f | --file <FILE>
- set editor lines per page count : -n | --count <COUNT>
Examples:
yae -h
yae -v
yae -f file.txt
yae -f C:\file.txt
yae -n 30 -f C:\file.txt
There are 4 file templates:
- Class
- Enum
- Interface
- Struct
All of them create files with a base type content in the current directory.
Options:
- set namespace (default current directory) : -n <NAMESPACE>
- set output (default current directory) : -o <OUTPUT>
- set type name : -t <TYPE_NAME>
Examples:
dotnet new class -t Car
dotnet new enum -t Color
dotnet new interface -t IPerson
dotnet new struct -t Point
Try it out:
mkdir YaeDemo
cd YaeDemo
dotnet new console
dotnet new class -t MyClass
yae -f MyClass.cs
Editor window: