Releases: deetonn/Console
C# 12, NativeAOT, Performance improvements and more!
.NET8.0, Better Errors, Perf increases, Format Strings
This release upgrades to .NET8.0
This release contains better errors, each command can now follow a predefined format where errors looks something like this:
ERROR: something went really wrong
-> <location>:<line>:<col>
1 | <input_contents>
= note: optional note 1
= note: optional note N
This makes things more expected, and you can get used to error formats easier and learn to read exactly what you care about.
Performance increases, the UI now shows before all commands are loaded, please note that trying to execute a command before they have loaded will give you a little error, overtime I want to get this loading time to near zero.
There's a new type of formatting, if you're interested what it is, check here: https://github.com/deetonn/Console/wiki/Features#inline-text-formatting
Add GIT branch support
- Bug fixes
- Add support for git repos. When inside of a git repo or a directory with a parent directory that contains a ".git" folder, the path part of the prompt will be displayed as that repository's branch.
General Update
v1.0.31-patch VS22 Project files update
Inline Environment Variables, Performance Boosts, `./` Syntax and Much More!
New features in this release:
- Inline Environment Variables.
./
Syntax For Executing Files- New Output Processor AnsiConsole
Deprecated:
queue
command was deprecated because it is absolute dogshit
Alias support, Better configuration Location.
The alias
command is now supported. This command can create an alias for any line of execution. The syntax is like this:
Example:
alias command_name="command1 & command2 arg1 & help --all"
All configuration details now live in %AppData%\Roaming\Console\saved. This is a global save point for this application, so any save files will live there. Along with log files.
Plugin Support, Performance Improvements
This update has support for plugins. You can now implement IConsolePlugin from another .NET DLL & load it. This can be achieved by adding the file into the config folder (located at AppData/Roaming/Console/saved) or by using the load_plugin command. The plugins have a lot of functionality, such as hooking user input, hooking setting changes and more.
Improved initial loading speeds by 93%! This was done by loading all the PATH executables in Parallel.
Release | Stable
v1.0.0-release Update README.md