Skip to content

xops completion bash

以下列出命令用法和可用选项。已安装版本支持的参数以 --help 为准。

text
Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

	source <(xops completion bash)

To load completions for every new session, execute once:

#### Linux:

	xops completion bash > /etc/bash_completion.d/xops

#### macOS:

	xops completion bash > $(brew --prefix)/etc/bash_completion.d/xops

You will need to start a new shell for this setup to take effect.

Usage:
  xops completion bash

Flags:
  -h, --help              help for bash
      --no-descriptions   disable completion descriptions

Global Flags:
      --color string       ANSI 颜色输出 (auto=自动检测管道/重定向, never=禁用, always=强制启用)
      --debug              开启调试模式 (等同于 --log-level=debug)
      --lang string        界面语言 (zh/en)
      --log-level string   设置内部诊断日志级别 (debug, info, warn, error)

MIT License