Codefresh Completion

Description

Generate codefresh completion. See details on usage

Prints completion script with specified or default path to executable and command alias.

Command

codefresh completion [shell-name]

Aliases

codefresh completions [shell-name]

Arguments

Option Alias Default Description
shellName bash Name of the shell to generate completion for

Possible values:
- bash
- zsh

Options

Option Alias Type Default Description
--help Print help information
--executable -e Name or path to your codefresh executable (default same as alias)
--alias -a string codefresh Alias used for calling codefresh executable

Examples

codefresh completion

codefresh completion zsh

Install zsh completion script

codefresh completion zsh >> ~/.zshrc

Install bash completion script

codefresh completion bash >> ~/.bashrc

Install bash completion script (on OSX)

codefresh completion bash >> ~/.bash_profile

cf completion --alias cf

/some/path/codefresh completion -e /some/path/codefresh