lux-cli-vendor(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸ’– lux-cli-vendor(1) πŸ’–

Filed under the General Commands Manual β€” this is the page for lux-cli-vendor(1), and it’s giving β€œlocal deps, no remote drama.” πŸ’…

✨ NAME ✨

lux-cli-vendor β€” Vendor the dependencies of a project or RockSpec locally. When building or installing a package with the --vendor-dir option{n} or the [vendor_dir] config option, Lux will fetch sources from the <vendor-dir>{n} instead of from a remote server. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

Here’s the whole shape, bestie:

lux-cli vendor [--rockspec] [--no-lock] [--server] [--extra-servers]
[--no-delete] [--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]
[VENDOR_DIR]

🌸 DESCRIPTION 🌸

Okay so this is the main character energy of the page: Vendor the dependencies of a project or RockSpec locally. When building or installing a package with the --vendor-dir option{n} or the [vendor_dir] config option, Lux will fetch sources from the <vendor-dir>{n} instead of from a remote server. No cap. ✨

πŸ‘‘ OPTIONS πŸ‘‘

One bullet per flag, zero skips β€” we’re thorough like that. πŸ’…

  • --rockspec <ROCKSPEC> β€” RockSpec to vendor the packages for.{n} If not set, Lux will vendor dependencies of the current project
  • --no-lock β€” Ignore the project's lockfile, if present
  • --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)
  • --no-delete β€” Don't delete the <vendor-dir> when vendoring,{n} but rather keep all existing contents of the vendor directory
  • --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: release

Possible values:

  • release
  • dev
  • --verbose β€” Display verbose output of commands executed, enabling DEBUG logs.{n} To enable TRACE logs, set RUST_LOG=trace
  • --no-progress β€” Don't print any progress bars or spinners
  • --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
  • --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} 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{n} 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')
  • [VENDOR_DIR] β€” The directory in which to vendor the dependencies. Must be set if --vendor-dir is not set

Cute sign-off: this page comes from the vendor corner and it’s filed under lux-cli-vendor(1) β€” no date was printed on the footer, so we’re calling it timeless, periodt. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from