nb portal dev

Démarre le mode développement pour le workspace Portal spécifié

Utilisation

nb portal dev <portal> [flags]

Paramètre

ParamètreTypeDescription
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip cross-env confirmation.

Exemples

nb portal dev customer
nb portal dev customer --env dev --yes

Notes

The workspace must contain package.json. The command refreshes .env and .env.local, then runs pnpm dev. ssh envs are not supported in the current version.

Commandes liées