lux-cli-path-c(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸ¦‹ lux-cli-path-c(1) β€” the LUA_CPATH girly πŸ’…

okay so real quick before anything: this is the lux-cli-path-c page, one of the lux-cli general commands. bestie, you're in the right place 🫢


✨ NAME ✨

lux-cli-path-c β€” generate a LUA_CPATH expression for native lib libraries in the lux tree. (and no, it's not formatted as a shell command, so don't come for her πŸ’€)


🌸 SYNOPSIS 🌸

lux-cli path c [--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]

πŸ’– DESCRIPTION πŸ’–

so the whole vibe of this command is: it generates a LUA_CPATH expression for the native lib libraries chillin' in the lux tree. that's it, that's the gig ✨

one thing to note β€” it is not formatted as a shell command. like, don't just paste it into your shell and expect it to slay, because it won't, that's not what she does 😭


πŸŽ€ OPTIONS πŸŽ€

the way this list is long but honestly every single one is iconic in its own way, let's go πŸ‘‘

  • --server <server> β€” fetch rocks/rockspecs from this server (this one takes priority over whatever's in the config file, she's the main character fr)
  • --extra-servers <extra-server> β€” fetch rocks/rockspecs from these servers in addition to the main server (this overrides any entries in the config file, no cap)
  • --namespace <namespace> β€” specify the luarocks server namespace to use
  • --lua-dir <prefix> β€” specify the directory in which to install Lua if it's not found
  • --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 is available on the PATH
  • --tree <tree> β€” which tree to operate on. 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, in which the default user install tree resides (e.g. ~/.local/share/lux)
  • --variables <variable> β€” override config variables. example: lx -v "LUA=/path/to/lua" ...
  • --profile <profile> β€” the build profile to use when compiling packages. default: release. possible values are:
    • release
    • dev
  • --verbose β€” display verbose output of commands executed, enabling DEBUG logs. and if you wanna go even harder, to enable TRACE logs, set RUST_LOG=trace πŸ”₯
  • --no-progress β€” don't print any progress bars or spinners (for the girlies who want a clean, quiet terminal 🧚)
  • --no-prompt <NO_PROMPT> β€” skip prompts, selecting the default option. prompting is enabled by default in terminal/TTY environments. possible values are:
    • true
    • false
  • --preset <preset> β€” configure Lux for a specific environment. valid presets are: 'nvim'. possible values are:
    • nvim: configure Lux for Neovim plugins
  • --nvim β€” [DEPRECATED] configure lux for installing Neovim packages. use --preset nvim instead πŸ™ˆ (she's retired, respect her legacy tho)
  • --no-tfa β€” disable prompts for two-factor authentication (2FA) codes. > okay so this one's a little scary β€” it is strongly recommended to enable 2FA instead, see (https://luarocks.org/settings/two-factor-auth) πŸ”
  • --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')

that's the whole page bestie, you ate that πŸ’…βœ¨


πŸ’– sign-off time πŸ’–

so this page is source c, and it's part of the lux-cli-path-c(1) manual β€” general commands manual, if we're being fancy about it. go forth and set that LUA_CPATH like the icon you are πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from