jcli completion

jcli completion

Genereate bash completion scripts


Genereate bash completion scripts

jcli completion [flags]


# 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.


  -h, --help   help for completion

Options inherited from parent commands

      --configFile string     An alternative config file
      --debug                 Print the output into debug.html
      --doctor                Run the diagnose for current command
      --insecureSkipVerify    If skip insecure skip verify (default true)
  -j, --jenkins string        Select a Jenkins server for this time
      --logger-level string   Logger level which could be: debug, info, warn, error (default "warn")
      --proxy string          The proxy of connection to Jenkins
      --proxy-auth string     The auth of proxy of connection to Jenkins
      --token string          The token of Jenkins
      --url string            The URL of Jenkins
      --username string       The username of Jenkins


  • jcli - jcli is a tool which could help you with your multiple Jenkins