Skip to main content

furyctl completion

Generate completion script for your shell

Synopsis

To load completions:

Bash:

$ source <(furyctl completion bash)

To load completions for each session, execute once:

Linux:

$ furyctl completion bash > /etc/bash_completion.d/furyctl

macOS:

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

Zsh:

If shell completion is not already enabled in your environment, you will need to enable it. You can execute the following once:

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions for each session, execute once:

$ furyctl completion zsh > "${fpath[1]}/_furyctl"

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

fish:

$ furyctl completion fish | source

To load completions for each session, execute once:

$ furyctl completion fish > ~/.config/fish/completions/furyctl.fish

PowerShell:

PS> furyctl completion powershell | Out-String | Invoke-Expression

To load completions for every new session, run:

PS> furyctl completion powershell > furyctl.ps1

and source this file from your PowerShell profile.

Usage

furyctl completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

Options inherited from parent commands

  -D, --debug                 Enables furyctl debug output. This will greatly increase the verbosity. Notice that you can always access the debug output in the log file.
-d, --disable-analytics Disable analytics
-g, --git-protocol string Download repositories using the given protocol (options: https, ssh). Use when SSH traffic is being blocked or when SSH client has not been configured
set the GITHUB_TOKEN environment variable with your token to use authentication while downloading, for example for private repositories (default "https")
-H, --https DEPRECATED: by default furyctl uses https protocol to download repositories (default true)
-l, --log string Path to the log file or set to 'stdout' to log to standard output. Default is '<outdir>/.furyctl/furyctl.<timestamp>-<random number>.log'
-T, --no-tty Disable TTY making furyctl's output more friendly to non-interactive shells by disabling animations and colors
-o, --outdir string Path where to create the data directory (.furyctl). Default is the user's home.
-w, --workdir string Switch to a different working directory before executing the given subcommand

See Also

  • furyctl - The Swiss Army knife for the SIGHUP Distribution