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. Debug logs and additional logs are also always written to the log file. See the --log flag.
-d, --disable-analytics Disable analytics
-g, --git-protocol git-protocol Download repositories using the given protocol. 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.
Options are: ssh, https (default https)
-H, --https DEPRECATED: by default furyctl uses https protocol to download repositories. See --git-protocol flag (default true)
-l, --log string Path to a file or folder where to write logs to. Set to 'stdout' write to standard output. Target path will be created if it does not exists. Path is relative to --workdir. 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 ".furyctl" data directory. Default is the user's home. Path is relative to --workdir
-w, --workdir string Switch to a different working directory before executing the given subcommand. NOTE: this will affect all the paths passed, including other flags like outdir and log, for example
See Also
- furyctl - The Swiss Army knife for the SIGHUP Distribution