lux-cli-di...lat-archive(1)
๐
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 isdeflated: Compress the install tree using Deflatebzip2: Compress the install tree using BZIP2xz: Compress the install tree using XZzstd: Compress the install tree usingZStandardlzma: 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:jsontext
--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 thePATH.--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:releasedev
--verboseโ Display verbose output of commands executed, enablingDEBUGlogs.{n}To enableTRACElogs, setRUST_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:truefalse
--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 nviminstead.--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}0means no timeout (wait forever). Default is30.--max-jobs <MAX_JOBS>โ Maximum buffer size for parallel jobs, such as downloading rockspecs and installing rocks.0means no limit. Default is0.--no-luarcโ Do not generate or update a.luarc.jsonfile when building{n}a project.--no-wrap-binโ Do not wrap Luabinscripts.--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
- nixpkgs unstable: lux-cli 0.48.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms