Parse a command, returning a Dataset of all flags present command and their associated parameter values
Contributed by:
Antonis Aristeidou
Examples
Basic Examples
Parse the current session's $CommandLine:
Parse a command string:
Parse a command list:
Parse a compound command:
Parse $CommandLine returning the parameters associated to the "linkmode" flag:
Parse a command list for multiple flags:
Parse a compound command for a flag:
A Failure object is returned if the flag is not found:
$Failed is returned if an unknown input is received:
Publisher
Tony Aristeidou
Requirements
Wolfram Language 13.0
(December 2021) or above
Version History
-
1.1.0
– 09 August 2024
-
1.0.0
– 19 July 2024
Related Resources