module

Cjules::Util

Class methods

int_flag!(flag : String, value : String, min : Int32 | Nil = nil) : Int32

Parse an integer flag value, raising UsageError (exit 2) instead of letting String#to_i's ArgumentError escape as an unhandled exception.

Source

Nested types