roc/examples/cli
Agus Zubiaga 8dedd9f03c
New app header syntax
Implements the new app header syntax as discussed in Zulip [1].

    app [main] {
	cli: platform "../platform/main.roc",
	json: "../json/main.roc"
    }

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] 418444862
2024-05-01 10:49:01 -03:00
..
effects-platform switch dbg arg ordering to make it backwards compatible 2023-12-02 21:18:32 -08:00
false-interpreter New app header syntax 2024-05-01 10:49:01 -03:00
tui-platform New module header 2024-05-01 10:39:12 -03:00
argsBROKEN.roc New app header syntax 2024-05-01 10:49:01 -03:00
countdown.roc New app header syntax 2024-05-01 10:49:01 -03:00
echo.roc New app header syntax 2024-05-01 10:49:01 -03:00
effects.roc New app header syntax 2024-05-01 10:49:01 -03:00
env.roc New app header syntax 2024-05-01 10:49:01 -03:00
fileBROKEN.roc New app header syntax 2024-05-01 10:49:01 -03:00
form.roc New app header syntax 2024-05-01 10:49:01 -03:00
http-get.roc New app header syntax 2024-05-01 10:49:01 -03:00
ingested-file-bytes.roc New app header syntax 2024-05-01 10:49:01 -03:00
ingested-file.roc New app header syntax 2024-05-01 10:49:01 -03:00
README.md update README 2023-01-11 16:52:58 +01:00
tui.roc New app header syntax 2024-05-01 10:49:01 -03:00

CLI examples

Note: You probably will want to use the basic-cli platform. This folder will be removed soon.

These are examples of how to make basic CLI (command-line interface) and TUI (terminal user interface) apps in Roc.