Accessing class in a frontend module from console app?

I have a module in my frontend app that I want to use in my console app as well.

The namespace I’m using in the module code is prefixed with: app\modules\api\v1

I can’t access the module code from within a console app because “app” refers to console, not frontend.

What do you recommend?

  1. Should I change the namespace to "frontend" instead of "app"?

  2. Should I move the module to common and change the namespace to "common"?