Skip to main content

Module cli_utils

Module cli_utils 

Source

Structs§

RUMTKArgs
Example CLI parser that can be used to paste in your binary and adjust as needed.

Constants§

BUFFER_CHUNK_SIZE
BUFFER_SIZE

Statics§

CLI_ESCAPE_EXCEPTIONS

Functions§

print_license_notice
read_some_stdin
Consumes the incoming buffer in chunks of BUFFER_CHUNK_SIZE bytes size.
read_stdin
Consumes the incoming buffer in chunks of BUFFER_CHUNK_SIZE bytes size until no more bytes are present.
write_stdout

Type Aliases§

BufferChunk
BufferSlice