Woof.Command 7.0.0

Prefix Reserved
dotnet add package Woof.Command --version 7.0.0                
NuGet\Install-Package Woof.Command -Version 7.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Woof.Command" Version="7.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Woof.Command --version 7.0.0                
#r "nuget: Woof.Command, 7.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Woof.Command as a Cake Addin
#addin nuget:?package=Woof.Command&version=7.0.0

// Install Woof.Command as a Cake Tool
#tool nuget:?package=Woof.Command&version=7.0.0                

Woof.Command

A part of the Woof Tookit by CodeDog.

Distributed under MIT License. (c)2022 by CodeDog, All rights reserved.


About

A general purpose command line interface. Mimics some bash and PowerShell 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

Woof Toolkit is a work in progress in constant development, however it's carefully maintained with production code quality.

PLEASE report all issues on GitHub!

Describe how to reproduce an issue. Also feel free to suggest new features or improvements.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.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.

Version Downloads Last updated
7.0.0 223 8/6/2023
6.2.0 507 2/20/2022
6.0.0 353 11/12/2021
5.1.0 371 10/25/2021
5.0.0 493 10/22/2021 5.0.0 is deprecated because it has critical bugs.
2.0.0 719 7/25/2019 2.0.0 is deprecated because it is no longer maintained.