lux-cli-util-completion(1)
hey bestie π welcome to lux-cli-util-completion(1), straight outta the General Commands Manual. this is the lil page for generating shell autocompletion scripts, and we are keeping every flag, every {n}, and every possible value β no cap β¨
πΈ NAME πΈ
lux-cli-util-completion β Generate autocompletion scripts for the shell.{n} Example: lx completion zsh > ~/.zsh/completions/_lx
β¨ SYNOPSIS β¨
lux-cli util completion [--target-dir] [--server] [--extra-servers] [--namespace] [--lua-dir] [--lua-version] [--tree] [--cache-dir] [--data-dir] [--variables] [--profile] [--verbose] [--no-progress] [--no-prompt] [--preset] [--nvim] [--no-tfa] [--timeout] [--max-jobs] [--no-luarc] [--no-wrap-bin] [--user-agent] [-h|--help] [SHELL]
π DESCRIPTION π
okay so the description is literally the same iconic sentence as NAME: Generate autocompletion scripts for the shell.{n} Example: lx completion zsh > ~/.zsh/completions/_lx
π OPTIONS π
--target-dir <TARGET_DIR>β The target directory in which to save completions. If not set, Lux will print the completions to stdout.--server <server>β Fetch rocks/rockspecs from this server (takes priority over config file).--extra-servers <extra-server>β Fetch rocks/rockspecs from these servers in addition to the main server{n}(overrides any entries in the config file).--namespace <namespace>β Specify the luarocks server namespace to use.--lua-dir <prefix>β Specify the directory in which to install Lua if not found.--lua-version <ver>β Which Lua installation to use.{n}Valid versions are:'5.1','5.2','5.3','5.4','5.5','jit'and'jit52'.{n}If not set, Lux will attempt to detect the Lua version:{n}- From the current project, if it has an exact Lua version requirement.{n}- From the Lua installation that is available on the PATH.--tree <tree>β Which tree to operate on.{n}In a workspace, this can be used to specify a detached workspace tree.--cache-dir <cache-dir>β Specifies the cache directory, e.g. for luarocks manifests.--data-dir <data-dir>β Specifies the data directory,{n}in which the default user install tree resides{n}(e.g.~/.local/share/lux).--variables <variable>β Override config variables.{n}Example:lx -v "LUA=/path/to/lua" ...--profile <profile>β The build profile to use when compiling packages.{n}Default:releasePossible values:releasedev
--verboseβ Display verbose output of commands executed, enabling DEBUG logs.{n}To enable TRACE logs, setRUST_LOG=trace.--no-progressβ Donβt print any progress bars or spinners. vibe check: quiet mode π«Ά--no-prompt <NO_PROMPT>β Skip prompts, selecting the default option.{n}Prompting is enabled by default in terminal/TTY environments. Possible values:truefalse
--preset <preset>β Configure Lux for a specific environment.{n}Valid presets are:'nvim'Possible values:nvim: Configure Lux for Neovim plugins
--nvimβ [DEPRECATED] Configure lux for installing Neovim packages.{n}Use--preset nviminstead.--no-tfaβ Disable prompts for two-factor authentication (2FA) codes.{n}It is strongly recommended to enable 2FA instead see(https://luarocks.org/settings/two-factor-auth).--timeout <seconds>β Timeout on network operations, in seconds.{n}0means no timeout (wait forever). Default is30.--max-jobs <MAX_JOBS>β Maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks.0means no limit. Default is0.--no-luarcβ Do not generate or update a.luarc.jsonfile when building{n}a project.--no-wrap-binβ Do not wrap Luabinscripts.--user-agent <USER_AGENT>β The user agent to set when making web requests. Default is"lux/<version>".-h,--helpβ Print help (see a summary with'-h').[SHELL]β The shell to generate the completion script for.{n}If not set, and no target directory is specified,{n}uxwill try to detect the current shell.{n}If not set, and a target directory is specified,{n}Lux will generate completions for all supported shells. Possible values:"bash","elvish","fish","powershell","zsh"{n}Possible values:bashelvishfishpowershellzsh
okay thatβs the whole page, bestie π«Ά cute footer sign-off: completion + lux-cli-util-completion(1) β no date is shown on this one, so Iβm not inventing one, periodt π
π¦ where this page comes from
- nixpkgs unstable: lux-cli 0.48.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms