|
il y a 1 mois | |
---|---|---|
app | il y a 2 mois | |
src | il y a 1 mois | |
.gitignore | il y a 2 mois | |
LICENSE | il y a 3 mois | |
README.md | il y a 2 mois | |
Setup.hs | il y a 2 mois | |
mock.cabal | il y a 2 mois | |
mock.png | il y a 3 mois | |
package.yaml | il y a 1 mois | |
stack.yaml | il y a 2 mois | |
wtfpl.png | il y a 3 mois |
$> stack setup
$> stack install
This will install Mock into ~/.local/bin
, which should be added to $PATH
.
There is also an AUR package available.
mock [STYLE] [TEXT]
You can get a list of possible mock styles with mock
.
If no text is given, input is read from stdin
.
$> mock random This is a great program.
ThIs Is A greaT PROgrAM.
$> mock space This is a great program.
T h i s i s a g r e a t p r o g r a m.
Mock calls can be concatenated with pipes:
$> mock space This is a great program. | mock random
T h I S i S A G R e A t P R o g r a m .