getArgs -package:directory -package:unix -package:base-compat package:foundation

Returns a list of the program's command line arguments (not including the program name).
Get the arguments from the terminal command