CLI reference

norcube langsync namespaces update

Update a namespace's name, context, default language or default prompt

Not verified yet

Partial update of a namespace. Pass only the fields you want to change — omitted flags leave existing values alone.

--default-language accepts either a language code (e.g. en, cs) or the numeric language id. The CLI resolves codes via /languages before sending the request (the underlying endpoint wants the id form).

--default-prompt sets the custom prompt every automatic translation in the namespace uses unless a run names another (see norcube langsync prompts list); "none" removes it.

Usage

norcube langsync namespaces update <name> [flags]

Examples

norcube langsync namespaces update web --rename website
norcube langsync namespaces update web --default-language cs
norcube langsync namespaces update web --default-prompt 5f0c2a9e-1d2b-4c3d-8e9f-0a1b2c3d4e5f
norcube langsync namespaces update web --default-prompt none

Flags

FlagDefaultDescription
--contextNew context description
--default-languageNew default language — accepts either the code (e.g. en) or the numeric id; codes are resolved to ids client-side
--default-promptCustom prompt id for the namespace's automatic translations, or "none" to remove it
--renameNew name for the namespace (URL slug)

Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.

See also

On this page