https://github.com/roc-lang/basic-cli
A basic Command-Line Interface platform
https://github.com/roc-lang/basic-cli
roc-lang
Last synced: 29 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T05:37:39.000Z (about 1 year ago)
- Last Synced: 2024-05-01T11:35:52.731Z (about 1 year 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
[![Roc-Lang][roc_badge]][roc_link]
[roc_badge]: https://img.shields.io/endpoint?url=https%3A%2F%2Fpastebin.com%2Fraw%2FcFzuCCd7
[roc_link]: https://github.com/roc-lang/roc# 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.19.0](https://github.com/roc-lang/basic-cli/tree/0.19.0/examples)
- [0.18.0](https://github.com/roc-lang/basic-cli/tree/0.18.0/examples)
- [0.17.0](https://github.com/roc-lang/basic-cli/tree/0.17.0/examples)
- [latest main branch](https://github.com/roc-lang/basic-cli/tree/main/examples):book: **documentation**:
- [0.19.0](https://roc-lang.github.io/basic-cli/0.19.0/)
- [0.18.0](https://roc-lang.github.io/basic-cli/0.18.0/)
- [0.17.0](https://roc-lang.github.io/basic-cli/0.17.0/)
- [latest main branch](https://roc-lang.github.io/basic-cli/main/)## Running locally
If you clone this repo instead of using the release URL you'll need to build the platform once:
```sh
./jump-start.sh
roc build.roc --linker=legacy
```
Then you can run like usual:
```sh
$ roc examples/hello-world.roc
Hello, World!
```