| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Roc platform for command-line programs.
basic-cli supports command execution, directories, environment variables, files, HTTP, locales, paths, random seeds, sleeping, SQLite, standard input/output/error, TCP, terminal raw mode, and UTC time.
The examples directory contains executable, application-shaped CLI programs for common tasks like reading files, running commands, constructing URLs, making HTTP requests, working with SQLite, and reading stdin.
If you want to run an example without building basic-cli from source, use a released bundle URL in place of "../platform/main.roc". To run examples from a local checkout, build the platform first; see CONTRIBUTING.md.
HTTP examples use Roc's builtin Json parser and encoder directly through Http.get! and Http.send_json!.
Ask questions on Roc Zulip, especially in the #beginners stream.
Contributor setup, verification, generated glue, and documentation publishing notes live in CONTRIBUTING.md.
| Back | FazBrowse Home | New Git URL |