Allow calling nuxt without `pages` directory
[issue link]I’m trying to discover nuxt CLI capabilities as for every other npm lib (I wanted to know whether there is possibility to point to nuxt.config.js from other place). So I try:
./node_modules/.bin/nuxt --help(withnuxtin dependencies inpackage.json)nuxt --help(withnuxtinstalled globally)
In both cases I get:
> No `pages` directory found. Did you mean to run `nuxt` in the parent (`../`) directory?
and nothing more 😦
It would be great to have possibility to call nuxt from any place, so it would fail on nuxt build maybe, but not on nuxt --help etc.
BTW: I have pages directory same directory as where I run nuxt --help, but same error appears… But it’s outside the scope of this issue.