Burrito.Util.Args (burrito v1.1.1)
This module provides a method to help fetch CLI arguments, whether passed down from the Zig wrapper binary or from the the system.
Summary
Functions
Link to this function
argv()
@spec argv() :: [String.t()]
Get the arguments from the CLI, regardless if run under Burrito or not.
Link to this function
get_arguments()
@spec get_arguments() :: [String.t()]
Get CLI arguments passed down from the Zig wrapper binary. Do note that this will get OTP
runtime arguments when called outside of a Burrito-built context. You may consider
argv/0
as a more general alternative.