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-np forcefully 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