lux-cli-di...lat-archive(1)

๐Ÿ“ฆ version 0.48.0, in nixpkgs unstable

๐Ÿ’… lux-cli-dist-flat-archive โ€” General Commands Manual, but make it cute ๐Ÿ’…

okay bestie, you're on the lux-cli-di...lat-archive(1) page, manual name folded in right at the top like a little name tag. this is the General Commands Manual entry for lux-cli-dist-flat-archive, and we are keeping every flag, default, warning, and example. no cap. ๐Ÿซถ


๐Ÿ’– NAME ๐Ÿ’–

lux-cli-dist-flat-archive - Distribute an archive of a flat install tree which includes all dependencies. {n} The resulting archive does not include the etc directory or build dependencies. {n} Unlike a Lux tree, dependency conflicts are not supported/handled.


โœจ SYNOPSIS โœจ

lux-cli dist flat-archive [-d|--destination] [-c|--compression-method]
[--server] [--extra-servers] [--output-format] [--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] [PACKAGE_OR_ROCKSPEC]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so this command distributes an archive of a flat install tree which includes all dependencies. {n} The resulting archive does not include the etc directory or build dependencies. {n} And unlike a Lux tree, dependency conflicts are not supported/handled โ€” that part is literally in the page, so don't expect conflict-handling magic here. periodt. ๐Ÿ’…


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -d, --destination <DESTINATION> โ€” where the archive goes, bestie. Defaults to <cwd>/<package>-<version>.zip. {n}
  • -c, --compression-method <COMPRESSION_METHOD> โ€” how we're packing the install tree. [default: stored] possible values:
    • stored: Store the install tree as is
    • deflated: Compress the install tree using Deflate
    • bzip2: Compress the install tree using BZIP2
    • xz: Compress the install tree using XZ
    • zstd: Compress the install tree using ZStandard
    • lzma: Compress the install tree using LZMA
  • --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)
  • --output-format <OUTPUT_FORMAT> โ€” output vibe check. [default: text] possible values:
    • json
    • text
  • --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').
  • [PACKAGE_OR_ROCKSPEC] โ€” Path to a RockSpec or a package query for a package to distribute. {n} Prioritises local projects if in a workspace, then installed rocks. {n} If there is no matching workspace member or installed rock, {n} a rock will be downloaded and installed to a temporary directory. {n} In case of multiple matches, the latest version will be distributed. {n} {n} Examples: {n} - "pkg" {n} - "pkg@1.0.0" {n} - "pkg>=1.0.0" {n} - "/path/to/foo-1.0.0-1.rockspec" {n} {n} If not set, lux will attempt to distribute the current project. {n} Must be set in multi-project workspaces.

okay that's the whole manual, bestie! cute sign-off time: the footer source/version + date energy is flat-archive and lux-cli-di...lat-archive(1). slay, go distribute that flat archive ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from