lux-cli-debug-project(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸ’… lux-cli-debug-project

okay so bestie, this is a page from the General Commands Manual β€” it's lux-cli-debug-project(1) and it's literally your little window into whatever project you're standing in rn. pull up a chair πŸŽ€


✨ NAME ✨

lux-cli-debug-project β€” view information about the current project πŸ‘€


🌸 SYNOPSIS 🌸

lux-cli debug project [--list-files] [--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]

like yes, that's a lot of brackets, but you got this 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

View information about the current project. that's it, that's the vibe β€” it's giving "let me see what's actually going on in here" and honestly? iconic. ✨


πŸ’… OPTIONS πŸ’…

  • --list-files β€” lists the files that are included. and listen, to avoid copying over huge files that have zero to do with the build process, Lux leaves out hidden files and files that are ignored (like by .gitignore or other .ignore files). so no, your random giant blobs aren't sneaking in πŸ™ˆ
  • --server <server> β€” fetch rocks/rockspecs from this server. it takes priority over the config file, so it wins the argument, periodt πŸ‘‘
  • --extra-servers <extra-server> β€” fetch rocks/rockspecs from these servers in addition to the main server. this overrides any entries in the config file. more servers, more rocks, no cap πŸ”₯
  • --namespace <namespace> β€” specify the luarocks server namespace to use.
  • --lua-dir <prefix> β€” specify the directory to install Lua into, in case it wasn't found on its own. lowkey a rescue mission 🧚
  • --lua-version <ver> β€” which Lua installation to use. valid versions are: '5.1', '5.2', '5.3', '5.4', '5.5', 'jit' and 'jit52'. if you don't set it, Lux will attempt to detect the Lua version:
    • from the current project, if it has an exact Lua version requirement
    • from the Lua installation that's available on the PATH
  • --tree <tree> β€” which tree to operate on. in a workspace, you can use this 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, which is where the default user install tree lives (e.g. ~/.local/share/lux). home sweet home 🏠
  • --variables <variable> β€” override config variables. example: lx -v "LUA=/path/to/lua" ...
  • --profile <profile> β€” the build profile to use when compiling packages. default is release. possible values:
    • release
    • dev
  • --verbose β€” display verbose output of the commands executed, which enables DEBUG logs. want TRACE logs too? set RUST_LOG=trace. we love a chatty queen πŸ’¬
  • --no-progress β€” don't print any progress bars or spinners. silence. peace. πŸ•ŠοΈ
  • --no-prompt <NO_PROMPT> β€” skip prompts, selecting the default option. prompting is enabled by default in terminal/TTY environments. possible values:
    • true
    • false
  • --preset <preset> β€” configure Lux for a specific environment. valid presets are: 'nvim'. possible values:
    • nvim: configure Lux for Neovim plugins πŸ’œ
  • --nvim β€” [DEPRECATED] configure lux for installing Neovim packages. use --preset nvim instead. she's retired but not forgotten 🫑
  • --no-tfa β€” disable prompts for two-factor authentication (2FA) codes. it is strongly recommended to enable 2FA instead β€” see (https://luarocks.org/settings/two-factor-auth). like fr fr, turn it on πŸ”
  • --timeout <seconds> β€” timeout on network operations, in seconds. 0 means no timeout (wait forever). default is 30 ⏳
  • --max-jobs <MAX_JOBS> β€” maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks. 0 means no limit. default is 0 πŸš€
  • --no-luarc β€” do not generate or update a .luarc.json file when building a project.
  • --no-wrap-bin β€” do not wrap Lua bin scripts.
  • --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). your little safety net πŸ’–

heads up bestie: that --nvim flag is deprecated β€” --preset nvim is the main character now. and the --no-tfa thing is a real one, the page says enabling 2FA is strongly recommended, so don't come for me if you skip it πŸ’€

k bye ily, go debug that project 🌟 β€” signed off from the lux-cli-debug-project(1) page, source/version project, General Commands Manual. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from