3 stable releases
1.1.1 | Feb 18, 2023 |
---|---|
1.1.0 | Jan 26, 2023 |
1.0.1 |
|
#1559 in Command line utilities
11KB
246 lines
CATSAY
_-------------------_
| Hello, I'm a cat! |
/ ¯-------------------¯
/
/l、
(゚、 。 7
|、゙ ~ヽ
じし f\_, )ノ
My simple version of the cowsay program, but with a cat. You can run using the command line pipe or the default input, just like this:
fortune | catsay # With pipe
catsay "Hello, I'm a cat!" # default cli input
Installation
First, if you don't have rust installed, install it. After installation follow the steps:
You can install it directly using crates.io by running the commands below:
cargo install catsay-rs
or, install from source code by running:
git clone https://github.com/dreisss/catsay.git
cd catsay
cargo install
And verify if everything is ok by running the command:
catsay -v
Commands
Useful built-in commands in the program:
-
Help command to the program. Using:
catsay -h # or catsay --help
-
Display the program version. Using:
catsay -v # or catsay --version
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.
Licensing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.