A lightweight and user-friendly tool for effortlessly repeating and customizing text.
Repyfi CLI is not yet available in any package manager and there are no compiled versions 😮💨. So you have to compile manually.
Repyfi CLI is a CLI application, this means that the application must be executed from the Terminal.
Use repyfi <text> to repeat the text. Where <text> is your text.
repyfi HelloResult:
% repyfi Hello
Hello
HelloTo repeat several words or even whole sentences, the text must be wrapped with an ' or " symbol on both sides.
repyfi 'Be faster 🐢'Result:
% repyfi 'Be faster 🐢'
Be faster 🐢
Be faster 🐢Note: If
<text>is missing you will get this error:Error: Missing expected argument '<text>'
By default, the text will be repeated only twice.
To set a custom number of repetitions, use --count <count> option. Where <count> is a number.
repyfi 'I promise to always use UTF-8 🐶' --count 5Note: You can also use shorter entry.
repyfi 'I promise to always use UTF-8 🐶' -c 5
Result:
% repyfi 'I promise to always use UTF-8 🐶' --count 5
I promise to always use UTF-8 🐶
I promise to always use UTF-8 🐶
I promise to always use UTF-8 🐶
I promise to always use UTF-8 🐶
I promise to always use UTF-8 🐶Note:
<count>must be greater than zero. Otherwise you will get this error:Error: 'count' must be greater than zero.
To include a repetition counter, use --include-counter option.
repyfi 'Yare yare daze...' --count 3 --include-counterNote: You can also use shorter entry.
repyfi 'Yare yare daze...' -c 3 -i
Result:
% repyfi 'Yare yare daze...' --count 3 --include-counter
1: Yare yare daze...
2: Yare yare daze...
3: Yare yare daze...Multiline may be useful if you need to repeat a text that consists of several lines, or write an arguments in a more readable version.
To use multilining, you must use \ as if it were a newline character.
repyfi 'Dum-dum-dum-dum, ditty dum-dum-dum \
Dum, dum, dum'Result:
% repyfi 'Dum-dum-dum-dum, ditty dum-dum-dum \
Dum, dum, dum'
Dum-dum-dum-dum, ditty dum-dum-dum
Dum, dum, dum
Dum-dum-dum-dum, ditty dum-dum-dum
Dum, dum, dumRpyfi CLI uses the following order of arguments:
<text> [--count <count>] [--include-counter]
But that doesn't mean you have to follow it. Any combination of arguments will be correct.
The following commands will work the same way:
repyfi --count 1 --include-counter 'Hello everyone!'repyfi -с 1 'Hello everyone!' --include-counterrepyfi -i --count 1 'Hello everyone!'
Interested in contributing to Repyfi CLI? We'd love your help. Repyfi CLI is an open source project, built one contribution at a time by users like you.
Licensed under the MIT License.