nb env add
Save a named NocoBase API endpoint and switch the CLI to use that env. When oauth authentication is selected, nb env auth is started automatically.
This command does two things:
- Save the env configuration
- Switch the current env to the newly added env
When session mode is enabled for the current shell or runtime, it updates the session current env. It also updates the global last env as the fallback for shells or runtimes without session mode.

