datalad-shell-completion(1)

display shell script for enabling shell completion for DataLad.

Section 1 datalad bookworm source

Description

datalad shell-completion

NAME

datalad shell-completion - display shell script for enabling shell completion for DataLad.

SYNOPSIS

datalad shell-completion [-h] [--version]

DESCRIPTION

Output of this command should be "sourced" by the bash or zsh to enable shell completions provided by argcomplete.

Example:

$ source <(datalad shell-completion)
$ datalad --<PRESS TAB to display available option>

OPTIONS

-h, --help, --help-np

show this help message. --help-np forcefully disables the use of a pager for displaying the help message

--version

show the module and its version which provides the command

AUTHORS

datalad is developed by The DataLad Team and Contributors <team@datalad.org>.