58 lines
1.2 KiB
Markdown
58 lines
1.2 KiB
Markdown
# term-owo-cpp
|
|
|
|
A simple C++ program that owofies text
|
|
|
|
## Usage
|
|
|
|
### normal usage:
|
|
```bash
|
|
$ ./owo "Hello, world!"
|
|
Hewwo, wowld!
|
|
```
|
|
|
|
### from pipe / stdin:
|
|
```bash
|
|
$ echo "Hello, world!" | ./owo -p
|
|
Hewwo, wowld!
|
|
```
|
|
|
|
### from file:
|
|
```bash
|
|
$ ./owo -f file.txt
|
|
Hewwo, wowld!
|
|
```
|
|
|
|
### to file:
|
|
```bash
|
|
$ ./owo -o output.txt "Hello, world!"
|
|
```
|
|
|
|
### to clipboard:
|
|
```bash
|
|
$ ./owo -c "Hello, world!"
|
|
```
|
|
|
|
## Building
|
|
to build the program, you will need a c++ compiler. I have no idea what im doing with cmake so this uses a very basic make file that is made to build the linux and windows binaries.
|
|
If you are on windows, good luck. I have no clue how to setup g++ on windows. I would recommend using WSL or a VM. If you are on linux, you can build the program with the following commands
|
|
(assuming you have g++ installed):
|
|
```bash
|
|
$ make
|
|
$ ./owo "Hello, world!"
|
|
hewwo, wowld!
|
|
```
|
|
|
|
## Installation
|
|
|
|
### archlinux:
|
|
```bash
|
|
$ git clone `https://git.alfieking.dev/acetheking987/term-owo-cpp.git`
|
|
$ cd term-owo-cpp
|
|
$ makepkg -si
|
|
```
|
|
|
|
### 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 |