Skip to main content

clear

Addedv1.0.x

This operation truncates the local command history file. The script holds an exclusive lock during the truncate-then-remove sequence so concurrent CLI invocations cannot lose appended records.

Synopsis

zilliz history clear
[--force]

Options

  • --force (boolean) -

    Skips the interactive [y/N] confirmation prompt. Required for non-interactive scripts.

Example

# Interactive (asks for confirmation)
zilliz history clear

# Non-interactive
zilliz history clear --force