Skip to content

Tags: rubiojr/rugo

Tags

v0.30.1

Toggle v0.30.1's commit message
Fix rugo version

v0.30.0

Toggle v0.30.0's commit message
add signal module for graceful OS signal handling

New stdlib module: use "signal"

  signal.on("INT", fn()
    puts "shutting down"
    exit(0)
  end)
  signal.wait()

Supports INT, TERM, HUP, QUIT, USR1, USR2, WINCH, PIPE, and ALRM.
Handlers are race-free — they run on the goroutine that calls
signal.wait(), so they never conflict with the rest of your program.

Functions:
  signal.on(name, handler) — register a handler
  signal.wait()            — block and dispatch handlers as signals arrive
  signal.reset(name)       — stop invoking a handler
  signal.ignore(name)      — ignore a signal entirely

v0.29.10

Toggle v0.29.10's commit message
bump version

v0.29.9

Toggle v0.29.9's commit message
Bump version

v0.29.8

Toggle v0.29.8's commit message
missed version bump

v0.29.7

Toggle v0.29.7's commit message
fix: cli module separates -- passthrough from positional args

cli.args() now returns only the arguments before a "--" separator, and
a new cli.passthrough() returns everything after it. This keeps a
command's own arguments from being mixed up with arguments meant to be
forwarded to another command.

v0.29.6

Toggle v0.29.6's commit message
Bump version

v0.29.5

Toggle v0.29.5's commit message
bump version

v0.29.4

Toggle v0.29.4's commit message
bump version

v0.29.3

Toggle v0.29.3's commit message
tighten annotations for some types