https://github.com/ryzeon-dev/cbc
Print stdin char by char
https://github.com/ryzeon-dev/cbc
Last synced: about 1 year ago
JSON representation
Print stdin char by char
- Host: GitHub
- URL: https://github.com/ryzeon-dev/cbc
- Owner: ryzeon-dev
- License: gpl-3.0
- Created: 2023-07-02T19:47:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T21:50:36.000Z (over 2 years ago)
- Last Synced: 2025-02-04T15:47:16.609Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cbc
Print stdin or stdargs char by char
## Usage
Run any command in terminal, and pipe its output to cbc's stdin
```commandline
$ some_command | cbc
```
Or pass the text as an argument
```commandline
$ cbc the text I want to print
```
The default print time is 3 seconds.
To change the total print time, use the '-t' / '--time' option
```commandline
$ some_command | cbc -t 1.5
```
To change the time interval between chars (which normally is calculated dividing the print time by the number of characters to print), use the '-i' / '--interval' option
```commandline
$ some_command | cbc --interval 0.03
```
Use the '-h' or '--help' flag to get help