Subject: | App::Rad should be made more suitable for writing modules-as-cmdline-apps |
Hi!
Thanks for App::Rad. I tried using it for https://metacpan.org/pod/App::Git::Info (to avoid some boilerplate/scaffolding that I had in my other App::* modules) but ran into some issues. The remaining one is that I like to implement my scripts first as modules (see e.g https://perlmaven.com/modulino-both-script-and-module ) so I can do perl -MApp::Foo -e 'run()' -- --hello. However, App::Rad assumes it will be a standalone script and has the 'main' namespace hardcoded in several places.
Can you look into fixing it? Thanks!