Rumble.Cowsay.Tool
0.0.3
dotnet tool install --global Rumble.Cowsay.Tool --version 0.0.3
dotnet new tool-manifest
dotnet tool install --local Rumble.Cowsay.Tool --version 0.0.3
#tool dotnet:?package=Rumble.Cowsay.Tool&version=0.0.3
nuke :add-package Rumble.Cowsay.Tool --version 0.0.3
cowsay
ASCII-entities that can repeat phrases.
This repository contains the Rumble.Cowsay
class library and Rumble.Cowsay.Tool
CLI tool. All the content in the repository is an original work created as a personal project, and serves as a .NET C# adaptation of the original cowsay program.
Description
Cowsay is a fun and configurable speaking cow (not only) program. Originally developed for GNU/Linux, this C# adaptation brings the fun of the original cowsay to the .NET ecosystem.
Usage
Rumble.Cowsay Library
using System;
using Rumble.Cowsay;
var entity = EchoingEntity.Cow;
Console.WriteLine(entity.Speak());
Console.WriteLine(entity.Echo("Hello, world!"));
Rumble.Cowsay.Tool
To install the tool globally, use the following command:
$ dotnet tool install --global Rumble.Cowsay.Tool
Then, you can use the tool with the following commands:
# with default entity (cow)
$ cowsay
$ cowsay --phrase "Hello, World!"
# with specific entity (cow)
$ cowsay --entity-name cow
$ cowsay --entity-name cow --phrase "Hello, World!"
# with specific entity (elephant)
$ cowsay --entity-name elephant
$ cowsay --entity-name elephant --phrase "Hello, World!"
Also, you can get more information about the tool with the following commands:
# displays current version
$ cowsay --version
# displays help
$ cowsay -h
$ cowsay --help
History
The original cowsay program, written in Perl, was created by Tony Monroe, with suggestions from Shannon Appel and contributions from Anthony Polito, as a whimsical program for GNU/Linux systems. It served as a creative output mechanism, generating ASCII art of a cow uttering the input text.
Note
This project is made out of pure love for .NET C#. It serves as a pet-project written just-for-fun. All the code here is 100% original.
Product | Versions 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. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.