CRAZY-COMPLETE(1)
π NAME π
crazy-complete β bestie, this is the girl who generates auto completion files for all the major shells. Periodt.
β¨ SYNOPSIS β¨
crazy-complete [-h] [--version] [--manual [TOPIC]] [--parser-variable PARSER_VARIABLE] [--input-type {yaml,json,python,help,auto}] [--abbreviate-commands BOOL] [--abbreviate-options BOOL] [--repeatable-options BOOL] [--inherit-options BOOL] [--option-stacking BOOL] [--long-option-argument-separator {space,equals,both}] [--disable FEATURES] [--vim-modeline BOOL] [--bash-completions-version VERSION] [--zsh-compdef BOOL] [--fish-fast BOOL] [--fish-inline-conditions BOOL] [--include-file FILE] [--comment COMMENT] [--debug] [--keep-comments] [--max-line-length MAX_LINE_LENGTH] [--function-prefix PREFIX] [-o FILE | -i | -u] {bash,fish,zsh,json,yaml} definition_file
π¦ DESCRIPTION π¦
Okay so literally what this does: it generates shell auto completion files for every major shell. All of them. Not one. All. π
{bash,fish,zsh,json,yaml}β you have to tell her which shell type the completion script is for. Pick your fighter:bash,fish,zsh,jsonoryaml. No guessing, she's not psychic.definition_fileβ the file holding your command line definitions. This is your homework, bestie, bring it. π
π OPTIONS π
So many options, so little time. Every single one, right here, no skips:
--versionβ shows the program version. The classic. The icon. π--manual [TOPIC]β shows the manual for TOPIC. Yeah, a program with its own manual command, she's main character energy fr. π--parser-variable PARSER_VARIABLEβ sets the variable name of theArgumentParserobject (this one's for--input-type=python).--input-type {yaml,json,python,help,auto}β tells her what type your input file is. Choose wisely.--abbreviate-commands BOOLβ sets whether commands can be abbreviated.--abbreviate-options BOOLβ sets whether options can be abbreviated.--repeatable-options BOOLβ sets whether options get suggested multiple times during completion.--inherit-options BOOLβ sets whether parent options are visible to subcommands. Family reunion vibes. π«Ά--option-stacking BOOLβ sets whether short option stacking is allowed.--long-option-argument-separator {space,equals,both}β sets which separators are used for delimiting a long option from its argument.space,equals, orbothβ pick your separator era.--disable FEATURESβ disables features. The list ishidden,final,groups,repeatable,when. Just say no π--vim-modeline BOOLβ sets whether a vim modeline comment gets appended to the generated code.--bash-completions-version VERSIONβ generates code for a specificbash-completionsversion. Version-picky, valid, respect it.--zsh-compdef BOOLβ sets whether#compdefis used in zsh scripts.--fish-fast BOOLβ uses faster commandline parsing, at the cost of correctness. Speed demon but she said what she said, that's the tradeoff, no cap.--fish-inline-conditions BOOLβ don't store conditions in a variable. Inline them. Chaotic but efficient.--include-file FILEβ includes a file in the output.--comment COMMENTβ adds a comment to the output.--debugβ enables debug mode. She's telling you everything now. π--keep-commentsβ keeps comments in the generated output.--max-line-length MAX_LINE_LENGTHβ sets the maximum line length of the generated output.--function-prefix PREFIXβ sets the prefix used for generated functions.-o FILE,--output FILEβ writes output to the destination FILE [default:stdout]. The default is literally just stdout, so if you don't say anything she's shouting into the terminal.-i,--install-system-wideβ writes output to the system-wide completions dir of the shell. Big moves. π₯-u,--uninstall-system-wideβ uninstalls the system-wide completion file for the program. It's giving closure. π¦
π COMMENTS π
For the complete documentation (the whole teaaa), go look at https://github.com/crazy-complete/crazy-complete. She said read the docs bestie, iykyk.
π AUTHOR π
Benjamin Abendroth β the author. We thank her for her service. π«‘
Okay so that's the whole page, and since this is the Generated Python Manual for crazy-complete, section 1, dated 2026-05-12 β mwah, that's the sign-off, take care of yourself, hydrate, and go generate some completions bestie πβ¨π
π¦ where this page comes from
- ubuntu stonking: crazy-complete 0.3.8-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms