term-owo-cpp/README.md

52 lines
830 B
Markdown
Raw Normal View History

2024-06-18 11:47:28 +00:00
# term-owo-cpp
2024-06-18 12:16:02 +00:00
A simple C++ program that owofies text
## Usage
2024-06-19 15:15:47 +00:00
### normal usage:
2024-06-18 12:16:02 +00:00
```bash
$ ./owo "Hello, world!"
Hewwo, wowld!
```
2024-06-19 15:15:47 +00:00
### from pipe / stdin:
```bash
$ echo "Hello, world!" | ./owo -p
Hewwo, wowld!
```
### from file:
```bash
$ ./owo -f file.txt
Hewwo, wowld!
```
2024-06-18 12:16:02 +00:00
2024-06-19 15:15:47 +00:00
### to file:
```bash
$ ./owo -o output.txt "Hello, world!"
```
## Building
2024-06-20 14:21:27 +00:00
to build the program, run the following command:
2024-06-18 12:16:02 +00:00
```bash
2024-06-20 14:21:27 +00:00
$ cmake . -B build
$ cd build && make
$ ./owo "Hello, world!"
hewwo, wowld!
2024-06-18 12:16:02 +00:00
```
## Installation
2024-06-19 15:15:47 +00:00
### archlinux:
2024-06-18 12:16:02 +00:00
```bash
$ git clone `https://git.alfieking.dev/acetheking987/term-owo-cpp.git`
$ cd term-owo-cpp
$ makepkg -si
2024-06-19 15:15:47 +00:00
```
### other distros:
download the binary from the releases page or build from source
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details