Already set. This is only available in the task runner, though.
This PR integrates that across Nolita, and makes all parameters therefore optional. If no parameters are provided and the nolitarc check fails, we throw during any constructor call.
The ideal case I'm trying to facilitate here is that if you've run npx nolita and npx nolita auth, then in any Nolita project on a machine, you can just run:
.nolitarc
stores user config acrossnpx nolita
sessions and includesnpx nolita auth
details as well, meaning if you use either, you invariably have:Already set. This is only available in the task runner, though.
This PR integrates that across Nolita, and makes all parameters therefore optional. If no parameters are provided and the nolitarc check fails, we throw during any constructor call.
The ideal case I'm trying to facilitate here is that if you've run
npx nolita
andnpx nolita auth
, then in any Nolita project on a machine, you can just run:Without ever having to think about keys or declaring process.env variables.