user_args_from_flags

Function user_args_from_flags 

Source
pub fn user_args_from_flags(
    as_file: Option<&PathBuf>,
    as_list: &[BigInt],
) -> Result<Vec<Arg>>
Expand description

Returns the user arguments for the program after parsing them from the provided file or list. as_file - The content of a flag with an optional path to a json containing the args as hex strings. as_list - The content of a flag with the direct numeric value of the list. Making sure not both are provided should be done by the cli.

This is required for running an executable in the Cairo-VM.