roc/examples/cli
2022-01-26 21:08:45 -07:00
..
platform cli platform: use generic version of mainForHost 2022-01-26 21:08:44 -07: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 Add emojis to echo example 2022-01-26 21:08:45 -07:00
form.roc Reformat form example for simplicity 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.