jcli completion

jcli completion

生成 bash 自动补全的脚本

Synopsis

生成 bash 自动补全的脚本

jcli completion [flags]

Examples

# Installing bash completion on macOS using homebrew
	## If running Bash 3.2 included with macOS
	brew install bash-completion
	## or, if running Bash 4.1+
	brew install bash-completion@2
	## you may need add the completion to your completion directory
	jcli completion > $(brew --prefix)/etc/bash_completion.d/jcli
	## If you get trouble, please visit https://github.com/jenkins-zh/jenkins-cli/issues/83.

Options

  -h, --help   help for completion

Options inherited from parent commands

      --configFile string     指定另外一个配置文件
      --debug                 Print the output into debug.html
  -j, --jenkins string        选择本次执行的 Jenkins
      --logger-level string   Logger level which could be: debug, info, warn, error (default "warn")

SEE ALSO

  • jcli - jcli 是帮助你管理多个 Jenkins 的工具