lux-cli-help(1)
okay bestie, welcome to lux-cli-help(1) β the General Commands Manual page for the help command herself. Yes, the help command has a help page, and sheβs lowkey iconic. π
πΈ NAME πΈ
lux-cli-help β print this message or the help of the given subcommand(s). Thatβs the job, and she does it with main character energy. β¨
β¨ SYNOPSIS β¨
lux-cli help [subcommands]
Thatβs it: lux-cli + help + optional [subcommands], bestie. π«Ά
π¦ DESCRIPTION π¦
lux-cli-help prints this message, or it prints the help of the given subcommand(s). Itβs the terminal version of βbestie, explain?β and no cap, she comes through. π
π SUBCOMMANDS π
Every one of these has her own page, and hereβs the whole lineup in order β no skips, no βweβll circle back,β periodt. π
lux-cli-help-add(1)β Add a dependency to the current project. Dependency-wrangling, but make it cute. πlux-cli-help-build(1)β Build/compile a project. Compile era. π₯lux-cli-help-check(1)β[EXPERIMENTAL]Type check the current project based on EmmyLua/LuaCATS annotations. Respects.emmyrc.jsonand.luarc.jsonfiles in the project directory. Sheβs experimental, so treat her like a testing-era icon. π§ͺlux-cli-help-config(1)β Interact with the lux configuration. Config chat. πlux-cli-help-debug(1)β Internal commands for debugging Lux itself. For debugging Lux herself. πlux-cli-help-dist(1)β Distribute a Lux project. Ship it. πlux-cli-help-doc(1)β Show documentation for an installed rock. Docs on deck. πlux-cli-help-download(1)β Download a specific rock file from a luarocks server. Rock retrieval moment. πͺ¨lux-cli-help-fmt(1)β Formats the codebase with stylua. Stylua said make it pretty. πlux-cli-help-generate-rockspec(1)β Generate a rockspec file from a project. Rockspec generation. πlux-cli-help-generate-lockfile(1)β Generate a lockfile for the current project without installing its dependencies. Lockfile only, no install. πlux-cli-help-info(1)β Show metadata for any rock. Metadata moment. βΉοΈlux-cli-help-install(1)β Install a rock for use on the system. System install. πlux-cli-help-install-rockspec(1)β Install a local rockspec for use on the system. Local rockspec, system-wide. πlux-cli-help-install-lua(1)β Manually install and manage Lua headers for various Lua versions. Lua headers on your terms. π§lux-cli-help-lint(1)β Lint the current project usingluacheck. Luacheck said be tidy. π§Ήlux-cli-help-list(1)β List currently installed rocks. The roster. πlux-cli-help-lua(1)β Run lua, with theLUA_PATHandLUA_CPATHset to the specified lux tree. Lua with paths set. πlux-cli-help-new(1)β Create a new Lua project. New project, new era. β¨lux-cli-help-outdated(1)β List outdated rocks. Who needs an update? πlux-cli-help-pack(1)β Create a packed rock for distribution, packing sources or binaries. Pack it up, pack it in. π¦lux-cli-help-path(1)β Return the currently configured package path. Path reveal. π€οΈlux-cli-help-pin(1)β Pin an existing rock, preventing any updates to the package. Locked in, no updates. πlux-cli-help-purge(1)β Remove all installed rocks from a tree. Purge the tree, dramatic but accurate. π§Ήlux-cli-help-remove(1)β Remove a rock from the current projectβslux.tomldependencies. Bye-bye dependency. πlux-cli-help-run(1)β Run the current project with the provided arguments. Run it with args. πlux-cli-help-exec(1)β Execute a command that has been installed with lux. If the command is not found, a package named after the command will be installed. Command not found? Sheβll install the package named after it. πlux-cli-help-search(1)β Query the luarocks servers. Search the servers. πlux-cli-help-test(1)β Run the test suite in the current project directory. Lux supports the following test backends, specified by the[test]table in thelux.toml:
busted: https://lunarmodules.github.io/busted/
Example:
[test]
type = "busted"
flags = [ ] # Optional CLI flags to pass to busted
lx test will default to using busted if no test backend is specified and:
- there is a
.bustedfile in the project root - or
bustedis one of thetest_dependencies).
busted-nlua: A build backend for running busted tests with Neovim as the Lua interpreter. Used for testing Neovim plugins.
Example:
[test]
type = "busted-nlua"
flags = [ ] # Optional CLI flags to pass to busted
lx test will default to using busted-nlua if no test backend is specified and:
- there is a
.bustedfile in the project root - or
bustedandnluaaretest_dependencies.
command: Name/file name of a shell command that will run the test suite.
Example:
[test]
type = "command"
command = "make"
flags = [ "test" ]
script: Relative path to a Lua script that will run the test suite.
Example:
[test]
type = "script"
script = "tests.lua" # Expects a tests.lua file in the project root
flags = [ ] # Optional arguments passed to the test script
lux-cli-help-uninstall(1)β Uninstall a rock from the system. Removal era. ποΈlux-cli-help-unpin(1)β Unpins an existing rock, allowing updates to alter the package. Unlocked and free. πlux-cli-help-update(1)β Updates all rocks in a project. Update the whole squad. πlux-cli-help-upload(1)β Generate a Lua rockspec for a Lux project and upload it to the public luarocks repository. You can specify a source template for release and dev packages in thelux.toml.
Example:
[source]
url = "https://host.com/owner/$(PACKAGE)/refs/tags/$(REF).zip"
dev = "git+https://host.com/owner/$(PACKAGE).git"
You can use the following variables in the source template:
$(PACKAGE): The package name.$(VERSION): The package version.$(REF): The git tag or revision (if in a git repository).- You may also specify environment variables with
$(<VAR_NAME>).
If the version is not set in the lux.toml, lux will search the current commit for SemVer tags and if found, will use it to generate the package version. π·οΈ
lux-cli-help-util(1)β Infrequently used commands such as for generating shell completions and man pages. The utility drawer, but make it useful. π§°lux-cli-help-vendor(1)β Vendor the dependencies of a project or RockSpec locally. When building or installing a package with the--vendor-diroption or the[vendor_dir]config option, Lux will fetch sources from the<vendor-dir>instead of from a remote server. Local sourcing, cute and practical. π§Ίlux-cli-help-which(1)β Tell which file corresponds to a given module name. Module-to-file detective work. π΅οΈlux-cli-help-shell(1)β Spawns an interactive shell withPATH,LUA_PATH,LUA_CPATHandLUA_INITset. Shell but with the env vars set. πlux-cli-help-sync(1)β Synchronize the project tree with the currentlux.toml, ensuring all packages are installed correctly. Sync era. πlux-cli-help-help(1)β Print this message or the help of the given subcommand(s). Help-ception, and she ate. π
cute sign-off: the footer bits are help and lux-cli-help(1), and thereβs no date line visible β so weβre not inventing one, bestie. Thatβs the whole page, periodt. ππβ¨
π¦ 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