Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/roc-lang/basic-cli

A basic Command-Line Interface platform
https://github.com/roc-lang/basic-cli

roc-lang

Last synced: 4 days ago
JSON representation

A basic Command-Line Interface platform

Awesome Lists containing this project

README

        

# basic-cli

A Roc [platform](https://github.com/roc-lang/roc/wiki/Roc-concepts-explained#platform) to work with files, commands, HTTP, TCP, command line arguments,...

:eyes: **examples**:
- [0.16.x](https://github.com/roc-lang/basic-cli/tree/0.16.0/examples)
- [0.15.x](https://github.com/roc-lang/basic-cli/tree/0.15.0/examples)
- [0.14.x](https://github.com/roc-lang/basic-cli/tree/0.14.0/examples)
- [latest main branch](https://github.com/roc-lang/basic-cli/tree/main/examples)

:book: **documentation**:
- [0.16.x](https://www.roc-lang.org/packages/basic-cli/0.16.0)
- [0.15.x](https://www.roc-lang.org/packages/basic-cli/0.15.0)
- [0.14.x](https://www.roc-lang.org/packages/basic-cli/0.14.0)
- [latest main branch](https://www.roc-lang.org/packages/basic-cli)

## Running locally

If you clone this repo instead of using the release URL you'll need to build the platform once:
```sh
roc build.roc
```
Then you can run like usual:
```sh
$ roc --prebuilt-platform examples/hello-world.roc
Hello, World!
```