nb portal destroy

Xóa bản ghi Portal và workspace cục bộ

Cách dùng

nb portal destroy <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 confirmation prompts.
--forcebooleanIgnore missing Portal records or workspace directories.

Ví dụ

nb portal destroy customer --yes
nb portal destroy customer --env dev --yes
nb portal destroy customer --force --yes

Ghi chú

This command affects both the remote Portal record and the local workspace. In non-interactive mode, pass --yes. Use --force to ignore missing records or local files.

Lệnh liên quan