Overview

Clear the active workspace selection. After running this command, you’ll need to select a workspace before running other commands.

Syntax

ntcli workspace clear [options]

Aliases

ntcli workspace unset         # Alternative command
ntcli ws clear                # Command group alias
ntcli ws unset                # Combined aliases

Options

-v, --verbose
boolean
Show detailed information about the clear operation

Examples

Basic Clear

ntcli workspace clear

Using Alias

ntcli workspace unset

When to Use

  • Switch contexts: When you want to explicitly choose a workspace for each command
  • Security: Clear workspace context when working in shared environments
  • Troubleshooting: Reset workspace state when experiencing issues