A command-line interface for Homebrew, the macOS package manager.
To install the Homebrew CLI, you need to have Homebrew installed on your macOS system. If you don't have Homebrew installed, you can do so by running the following command in your terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Once Homebrew is installed, you can install the Homebrew CLI by running:
brew tap tapsilat/tap
brew install tapsilator
brew install tapsilat/tap/tapsilatAfter installation, you can use the Homebrew CLI by typing tapsilat in your terminal.
The CLI supports shell completion for Bash, Zsh, Fish, and PowerShell. Shell completion provides auto-completion for commands, subcommands, and flags.
To load completions in your current shell session:
source <(tapsilat completion bash)To load completions for every new session, execute once:
Linux:
tapsilat completion bash > /etc/bash_completion.d/tapsilatmacOS:
tapsilat completion bash > $(brew --prefix)/etc/bash_completion.d/tapsilatNote: You may need to install the
bash-completionpackage first. On macOS:brew install bash-completion. On Linux: use your package manager (e.g.,apt install bash-completion).
To load completions in your current shell session:
source <(tapsilat completion zsh)To load completions for every new session, add the following to your ~/.zshrc:
# If shell completion is not already enabled in your environment, enable it by adding:
autoload -Uz compinit
compinit
source <(tapsilat completion zsh)Alternatively, generate the completion script to a file in your fpath:
tapsilat completion zsh > "${fpath[1]}/_tapsilat"To load completions in your current shell session:
tapsilat completion fish | sourceTo load completions for every new session:
tapsilat completion fish > ~/.config/fish/completions/tapsilat.fishTo load completions in your current shell session:
tapsilat completion powershell | Out-String | Invoke-ExpressionTo load completions for every new session, add the output to your PowerShell profile. You can check the location of your profile with $PROFILE.