Module cliutil

Module cliutil 

Source
Expand description

A set of utility functions to implement reglang-expr CLIs

Functionsยง

parse_key_val
Parse a single key-value pair string. This is used to parse command line arguments.
read_in_source
Read source code from a file at the provided path or from standard input if no path is provided.
unzip_key_values
Unzip a vector of key-value pairs into separate vectors for keys and values.