nb portal pull

Baixa o source do Portal do source storage para o workspace local

Uso

nb portal pull <portal> [flags]

Parâmetro

ParâmetroTipoDescrição
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip cross-env confirmation.
--forcebooleanDelete the existing local workspace and pull it again.
--install / --no-installbooleanRun pnpm install after pulling source. Enabled by default.

Exemplos

nb portal pull customer
nb portal pull customer --env prod --yes
nb portal pull customer --force
nb portal pull customer --no-install

Notas

When the pulled workspace contains package.json, pnpm install runs by default. Use --no-install to skip it. Git source storage clones the configured repo and branch, then copies --git-path. With default nocobase storage, local and docker envs are usually no-op; http envs download a source archive through the API.

Comandos relacionados