CLI commands

completions

Output shell completion scripts.


Generates shell completion scripts for tab-completion of Security Layer commands and arguments.

Usage

sl completions <shell>

Arguments

ArgumentDefaultDescription
<shell>bashShell type: bash, zsh, or fish

Installation

Bash

sl completions bash > /etc/bash_completion.d/securitylayer

Zsh

sl completions zsh > "${fpath[1]}/_securitylayer"

Fish

sl completions fish > ~/.config/fish/completions/securitylayer.fish

Exit codes

CodeMeaning
0Completion script output successfully
1Unsupported shell

On this page