nb portal info

Hiển thị chi tiết bản ghi Portal và workspace cục bộ đã chỉ định

Cách dùng

nb portal info <portal> [flags]

Tham số

Tham sốKiểuMô tả
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip cross-env confirmation.
--json-output, --json, -jbooleanPrint Portal details as JSON.

Ví dụ

nb portal info customer
nb portal info customer --env dev --yes
nb portal info customer --json

Ghi chú

Text output includes name, URL, portal type, development path, deployment path, and enabled status. --json-output and its alias --json print name, url, portalType, developmentPath, deploymentPath, enabled, isDefault, and sourceStorage. You can query by routeName or uid.

Lệnh liên quan