roc/examples/cli
2021-12-12 05:57:39 -07:00
..
platform use ManuallyDrop instead of forget for rust host fx functions 2021-12-10 17:09:49 -08:00
.gitignore Implement echo example 2021-08-22 16:12:54 -04:00
Echo.roc Rename base package to pf everywhere, to match tutorial 2021-12-12 05:57:39 -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.