Check out the unittests for usage examples. Looks like others have had this idea before — check out https://github.com/CyberShadow/ae/blob/master/utils/meta/args.d for a different approach.