8 releases (5 breaking)

new 0.5.0 Jan 10, 2025
0.4.0 Nov 4, 2024
0.3.0 Oct 30, 2024
0.2.1 Sep 6, 2024
0.0.1 May 11, 2024

#285 in Programming languages

Download history 9/week @ 2024-09-22 36/week @ 2024-09-29 1/week @ 2024-10-06 128/week @ 2024-10-27 130/week @ 2024-11-03 8/week @ 2024-11-10 3/week @ 2024-11-17 1/week @ 2024-11-24 3/week @ 2024-12-08 3/week @ 2024-12-15 60/week @ 2025-01-05

63 downloads per month

MIT license

19KB
386 lines

rigz

Installation

cargo install rigz

Usage

rigz <command>

If no command is passed in the help message is displayed

Optional Arguments

Before the following args are valid

Log Level (verbose 0 - 4)
  • 0 error
  • 1 warn
  • 2 info
  • 3 debug
  • 4 trace
  • Any negative number can be used to disable all logging output

defaults to 0 can be set with one of the following:

  • -v 3
  • --verbose 4
  • RIGZ_VERBOSE environment variable, RIGZ_VERBOSE=2

Commands

  • version (-V, --version)
  • help (-h, --help, or no arguments)
  • repl
  • run
  • test
  • debug (coming soon)

REPL

Interactive console to run rigz, use exit to end session.

Usage: rigz repl [OPTIONS]

Options:

  • -s, --save-history: Save History on exit
  • -h, --help: Print help

Run

Run a file

Usage: rigz run [OPTIONS] <MAIN>

Arguments:

  • <MAIN>: Rigz Entrypoint

Options:

  • -s, --show-output: Show output from eval
  • -p, --print-vm: Print VM before run
  • -h, --help: Print help

Test

Test all functions with @test lifecycle

Usage: rigz test <INPUT>

Arguments:

  • <INPUT>: Test Entrypoint

Options:

  • -h, --help: Print help

Dependencies

~19–32MB
~516K SLoC