7 releases (4 breaking)

new 0.4.0 Nov 4, 2024
0.3.0 Oct 30, 2024
0.2.1 Sep 6, 2024
0.2.0 Aug 14, 2024
0.0.1 May 11, 2024

#104 in Programming languages

Download history 273/week @ 2024-08-12 144/week @ 2024-09-02 53/week @ 2024-09-16 9/week @ 2024-09-23 36/week @ 2024-09-30 132/week @ 2024-10-28 132/week @ 2024-11-04

264 downloads per month

MIT license

16KB
337 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–30MB
~464K SLoC