getArgs -package:directory package:hledger

Computation getArgs returns a list of the program's command line arguments (not including the program name).