Woof.Command
6.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Woof.Command --version 6.0.0
NuGet\Install-Package Woof.Command -Version 6.0.0
<PackageReference Include="Woof.Command" Version="6.0.0" />
paket add Woof.Command --version 6.0.0
#r "nuget: Woof.Command, 6.0.0"
// Install Woof.Command as a Cake Addin #addin nuget:?package=Woof.Command&version=6.0.0 // Install Woof.Command as a Cake Tool #tool nuget:?package=Woof.Command&version=6.0.0
Woof.Command
.NET extension created by CodeDog
Distributed under MIT License. (c)2021 by CodeDog, All rights reserved.
About
A general purpose command line interface.
Mimics all cmd
functionality providing persitent history
and advanced auto-complete feature activated with tab key.
Based on System.Console
, requires cmd
, PowerShell
or similar to run.
Usage
Create an instance of CommandShell
class.
When started with the Start
method it will work similarily to cmd
.
It's not very useful unless you add some custom commands to it.
The CommandShell
provides Command
event that is triggered each time
the user press enter. As the event arguments you get the command
entered parsed. Quoting is properly processed using cmd
syntaxt.
You get separate command name and arguments passed.
The response output can be set by settings the event arguments.
You can also add manual entries for your custom commands.
Just add entries to the instance's ManPages
dictionary.
They will be shown when man
commmand is issued without parameters.
The clas also provides auto-complete feature that can be highly custimized. It was inspired with Linux bash on ubuntu that shows suggestions and completions for some external programs.
By default it completes available commands and file names.
Just press tab to see available files and directories.
Disclaimer
Please report any issues on GitHub.
Woof Toolkit is a work in progress in constant development, however it's carefully maintained with production code quality.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. |
-
net5.0
- No dependencies.
-
net6.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.
.NET 6.0 target, no dependencies.