Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/roc-lang/basic-cli
- Owner: roc-lang
- License: upl-1.0
- Created: 2022-11-26T17:47:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T05:37:39.000Z (7 months ago)
- Last Synced: 2024-05-01T11:35:52.731Z (7 months ago)
- Topics: roc-lang
- Language: Rust
- Homepage:
- Size: 9.77 MB
- Stars: 60
- Watchers: 6
- Forks: 23
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- roc-awesome - roc-lang/basic-cli
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!
```