Support Perinci::CmdLine-based scripts (including ones that embed function/metadata in main package)