.\" Generated by gen_docs from crates/datui-cli. Do not edit.
.TH DATUI\-COMPLETIONS 1 2026-10-06 "datui 0.4.1" "User Commands"
.nr HY 0
.ds AD l
.SH NAME
datui\-completions \- print the shell completion script for SHELL
.SH SYNOPSIS
.nf
\fBdatui completions\fR \fISHELL\fR
.fi
.SH DESCRIPTION
Print the shell completion script for SHELL.
.PP
The script completes datui's options, commands and their values. Print it into the directory your shell loads completions from.
.SH OPTIONS
.TP
\fISHELL\fR
\&. One of \fBbash\fR, \fBelvish\fR, \fBfish\fR, \fBpowershell\fR, \fBzsh\fR.
.TP
\fB\-c\fR, \fB\-\-config\fR \fIKEY=VALUE\fR
Set a config key for this run, as in the file: \-c display.\:row_numbers=true. Repeatable; a flag of the key's own still wins. \fBdatui config keys\fR lists them.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help.
.SH "EXIT STATUS"
.TP
\fB0\fR
Success: the session was quit (q, Ctrl+Q or Ctrl+C), or the command did what it was asked.
.TP
\fB1\fR
An error, printed to standard error: a PATH that is not there, a configuration file that cannot be used, nothing piped in for \-, or a command that failed (datui formats check on a spec with errors).
.TP
\fB2\fR
A usage error: an unknown option or command, or a value an option does not take.
.SH EXAMPLES
Bash completion for your user; new shells load it through bash-completion.
.PP
.RS 4
.EX
mkdir \-p ~/.local/share/bash\-completion/completions && datui completions bash > ~/.local/share/bash\-completion/completions/datui
.EE
.RE
.PP
fish completion for your user.
.PP
.RS 4
.EX
mkdir \-p ~/.config/fish/completions && datui completions fish > ~/.config/fish/completions/datui.fish
.EE
.RE
.PP
zsh completion; add fpath+=~/.zfunc before compinit in ~/.zshrc.
.PP
.RS 4
.EX
mkdir \-p ~/.zfunc && datui completions zsh > ~/.zfunc/_datui
.EE
.RE
.SH "SEE ALSO"
\fBdatui\fR(1)
.PP
The datui documentation: <https:/\:/\:derekwisong.\:github.\:io/\:datui/\:>
.SH BUGS
Report bugs at <https:/\:/\:github.\:com/\:derekwisong/\:datui/\:issues>.
.SH AUTHORS
Derek Wisong and the datui contributors.
.SH COPYRIGHT
Copyright \(co 2026 Derek Wisong
.PP
datui is free software under the MIT License.