nb portal pull
Kéo mã nguồn Portal từ source storage về workspace cục bộ
Cách dùng
Tham số
Ví dụ
Ghi chú
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. To pull from a Git repo one time without changing the remote portal record, pass --git-repo; --git-branch and --git-path can only be used together with --git-repo. Use nb portal config when you want to persist Git source settings.
With default nocobase storage, pull downloads a source archive through the API and writes it to the development workspace. After a successful pull, the development workspace path is saved to the CLI env config as portals.<portal>.path.

