roc/examples/cli
2022-02-23 16:02:13 +01:00
..
platform reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
.gitignore Add countdown example 2022-01-26 21:08:44 -07:00
countdown.roc Add countdown example 2022-01-26 21:08:44 -07:00
echo.roc Swap List.mapWithIndex arg1 args order to put the element first 2022-02-11 16:10:29 -07:00
form.roc Add emoji to form example 2022-01-26 21:08:45 -07:00
README.md Add README to examples/cli 2021-11-29 09:24:58 -05:00

Command Line Interface (CLI) Example

This is an example of how to make an extremely basic CLI in Roc.

There's not currently much documentation for the CLI platform (which also doesn't support many operations at this point!) but you can look at the modules it includes - for example, multiple other modules use the Task module, including the Stdin and Stdout modules.