DATALAD-SHELL-COMPLETION(1)
β¨ datalad shell-completion β¨
okay bestie, so this is a page from the General Commands Manual β it's datalad shell-completion(1) and it's literally the glow-up your terminal has been waiting for π
πΈ NAME πΈ
datalad shell-completion β display the shell script that turns on shell completion for DataLad. yes, that's it. that's the whole job. and it slays at it π
π¦ SYNOPSIS π¦
datalad shell-completion [-h] [--version]
π DESCRIPTION π
so here's the vibe: this command prints out a shell script, and the whole point is that you "source" it from bash or zsh so you get the shell completions that argcomplete provides. that's the entire plot π
like, no cap, this is the little ritual that makes tab-completion happen. the way that argcomplete just quietly makes your life easier and this command hands you the script. iconic.
Example β copy this energy:
$ source <(datalad shell-completion)
$ datalad --<PRESS TAB to display available option>
so you source the output, then you type datalad -- and smash that Tab key and boom π₯ options just appear. main character terminal behaviour, fr fr π
ngl, the <PRESS TAB to display available option> part is literally in the original example β it's not something you type out character for character, it's a little stage direction telling you to press Tab at that spot. iykyk π§
β¨ OPTIONS β¨
-h,--help,--help-npβ shows this help message. and--help-npforcefully disables the use of a pager when it displays that help message β like, no pager, we're doing this raw, no scrolling middleman π€--versionβ shows the module and its version that provides this command. it's giving receipts, it's giving "who even am I" energy π
π AUTHORS π
datalad is developed by The DataLad Team and Contributors <team@datalad.org>. absolute legends, all of them π«Ά
and that's the whole page, bestie β nothing more, nothing less, no invented lore π go forth and source responsibly π
datalad shell-completion 1.1.5 Β· 2025-06-15 β that's the version and date, straight from the footer, mwah π β
π¦ where this page comes from
- debian trixie: datalad 1.1.5-2.1 Β· MIT
- ubuntu resolute: datalad 1.1.5-2.1 Β· MIT
- ubuntu stonking: datalad 1.1.5-2.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms