lux-cli-sync(1)

πŸ“¦ version 0.48.0, in nixpkgs unstable

πŸ¦‹ lux-cli-sync(1) β€” General Commands Manual, but make it group-chat πŸ¦‹

πŸ’– NAME πŸ’–

lux-cli-sync β€” Synchronize the project tree with the current lux.toml,{n} ensuring all packages are installed correctly. Bestie, this is the β€œmake it match and make it installed” button. πŸ’…

✨ SYNOPSIS ✨

lux-cli sync [--no-integrity-check] [--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 πŸŽ€

Synchronize the project tree with the current lux.toml,{n} ensuring all packages are installed correctly. Translation: get your tree matching the current lockfile-ish situation and make sure every package is actually installed right, no fake vibes. 🫢

🌸 OPTIONS 🌸

  • --no-integrity-check β€” Skip the integrity checks for installed rocks when syncing the project lockfile. Living dangerously, but make it explicit. πŸ‘€
  • --server <server> β€” Fetch rocks/rockspecs from this server (takes priority over config file). This one gets main-character 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). Extra servers, extra sparkle. ✨
  • --namespace <namespace> β€” Specify the luarocks server namespace to use. πŸ¦‹
  • --lua-dir <prefix> β€” Specify the directory in which to install Lua if not found. Like putting Lua’s house exactly where you want it. 🏠
  • --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. πŸ“Œ
    • 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. Tree choice = whole vibe choice. 🌳
  • --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). Home sweet data home. 🏑
  • --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. Turn the volume up on the logs, bestie. πŸ”Š
  • --no-progress β€” Don’t print any progress bars or spinners. No little animations, just quiet slay. 🀫
  • --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. Iconic but retired, okay? πŸ’€
  • --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). Security warning with a bow on it: please use 2FA. πŸ”
  • --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. Parallel go brrr, but with a limit if you want. πŸ”₯
  • --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. Leave those bin scripts unwrapped, fr fr. 🫢
  • --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'). Help is always a valid accessory. πŸ’…

okay that’s the whole page, bestie 🫢 this lux-cli-sync(1) page is from the General Commands Manual, footer source/version is sync, and the date isn’t listed in the footer β€” so we’re signing off with vibes and receipts only πŸ’–βœ¨

πŸ“¦ where this page comes from