d45685e245
TL;DR: - Accept input from the CLI - Add a project README.md |
||
---|---|---|
.. | ||
.ghci | ||
App.hs | ||
Keyboard.hs | ||
Main.hs | ||
README.md | ||
shell.nix | ||
Spec.hs | ||
Transforms.hs | ||
Utils.hs |
Transform QWERTY
Apply a series of transforms to a QWERTY keyboard.
Usage
To run the program, enter the following:
$ runhaskell Main.hs --help
Usage: Main.hs (-t|--transforms ARG)
Transform a QWERTY keyboard using a string of commands
Available options:
-t,--transforms ARG String of transforms where (e.g. "HHVS12VHVHS3")
-h,--help Show this help text
For example:
$ runhaskell Main.hs --transforms=HHVS12VHVHS3
[N][M][,][.][/][Z][X][C][V][B]
[H][J][K][L][;][A][S][D][F][G]
[Y][U][I][O][P][Q][W][E][R][T]
[6][7][8][9][0][1][2][3][4][5]
Environment
You'll need runhaskell
, so call nix-shell
from this project's root directory.