nb license id

Show the commercial license instance ID for the selected env. If no saved instance ID exists yet, the CLI generates and saves one automatically.

Usage

nb license id [flags]

Parameters

ParameterTypeDescription
--env, -estringCLI env name; when omitted, the current env is used
--yes, -ybooleanWhen an explicitly passed --env targets a different env than the current env, skip the interactive confirmation prompt
--forcebooleanRegenerate the instance ID even when one is already saved
--jsonbooleanOutput JSON

Examples

nb license id
nb license id --env app1
nb license id --env app1 --yes
nb license id --env app1 --force
nb license id --env app1 --json

--force only forces regeneration of the instance ID. It does not replace cross-env confirmation; if an explicitly passed --env targets a non-current env, you still need confirmation or --yes.