lux-cli-run(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸ’… lux-cli-run(1) β€” like, the manual, but make it make sense πŸ’…

okay so bestie, you're looking at the General Commands Manual page for lux-cli-run, and I promise this is gonna be way less scary than it sounds. This is the glow-up guide to running your current project with whatever arguments you wanna throw at it. 🫢


✨ NAME ✨

lux-cli-run β€” run the current project with the provided arguments. That's it, that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

lux-cli run [--no-loader] [--dir] [--server] [--extra-servers]
[--no-lock] [--namespace] [--only-deps] [--lua-dir] [-p|--package]
[--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] [ARGS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Run the current project with the provided arguments. Literally the main character of this whole page. πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • --no-loader β€” Do not add require('lux').loader() to LUA_INIT.{n} If a rock has conflicting transitive dependencies,{n} disabling the Lux loader may result in the wrong modules being loaded. ⚠️ so like, be careful with this one, yeah?
  • --dir <DIR> β€” Path in which to run the command.{n} Defaults to the project root. slay, it just knows where to go. πŸ“
  • --server <server> β€” Fetch rocks/rockspecs from this server (takes priority over config file). it said what it said, priority. πŸ’…
  • --extra-servers <extra-server> β€” Fetch rocks/rockspecs from these servers in addition to the main server{n} (overrides any entries in the config file). more servers, more rocks, no cap. 🌐
  • --no-lock β€” Ignore the project's lockfile and don't create one. live your truth, lock-free. πŸ”“
  • --namespace <namespace> β€” Specify the luarocks server namespace to use. iykyk. πŸ—‚οΈ
  • --only-deps β€” Build only the dependencies. not the whole thing, just the supporting cast. 🎭
  • --lua-dir <prefix> β€” Specify the directory in which to install Lua if not found. it's giving "found family" energy. 🏠
  • -p, --package <PACKAGE> β€” Package to build. one at a time, bestie. πŸ“¦
  • --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. she's smart, she'll figure it out. 🧠✨
  • --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. a little home for your cache. πŸ—„οΈ
  • --data-dir <data-dir> β€” Specifies the data directory,{n} in which the default user install tree resides{n} (e.g. ~/.local/share/lux). very demure, very mindful path. 🏑
  • --variables <variable> β€” Override config variables.{n} Example: lx -v "LUA=/path/to/lua" ... β€” see, it's easy. πŸŽ›οΈ
  • --profile <profile> β€” The build profile to use when compiling packages.{n} Default: release.

Possible values:

  • release
  • dev
  • --verbose β€” Display verbose output of commands executed, enabling DEBUG logs.{n} To enable TRACE logs, set RUST_LOG=trace. we love a chatty queen. πŸ—£οΈ
  • --no-progress β€” Don't print any progress bars or spinners. sometimes you just want peace and quiet. 🀫
  • --no-prompt <NO_PROMPT> β€” Skip prompts, selecting the default option.{n} Prompting is enabled by default in terminal/TTY environments.

Possible values:

  • true
  • false
  • --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 nvim instead. it's old news bestie, move on. πŸ’€
  • --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). πŸ” like pls, protect yourself.
  • --timeout <seconds> β€” Timeout on network operations, in seconds.{n} 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. go off, no limits. πŸš€
  • --no-luarc β€” Do not generate or update a .luarc.json file when building{n} a project. no extra files, no stress. πŸ“
  • --no-wrap-bin β€” Do not wrap Lua bin scripts. let them breathe. 🫧
  • --user-agent <USER_AGENT> β€” The user agent to set when making web requests. Default is "lux/<version>". introducing yourself to the internet, cute. 🌍
  • -h, --help β€” Print help (see a summary with '-h'). the classic "help me help you." πŸ™‹β€β™€οΈ
  • [ARGS] β€” your args, your rules. πŸ’«

ngl bestie, that's the whole page β€” every flag, every default, every possible value, all accounted for. no gatekeeping here. πŸ’œ

and that's a wrap! this page is from the General Commands Manual, filed under run, and honestly? iconic. this was lux-cli-run(1) β€” go run your project, periodt. πŸ§šβ€β™€οΈπŸŒˆβ­

πŸ“¦ where this page comes from