The flua toolbox — every --tool command

Everything flua does is a command: flua --tool <name>. The VS Code extension's buttons are these commands with a GUI on top, the MCP server exposes them to agents, and a bare flua --tool lists them all (each with --help). This post is the tour — all 24 tools, grouped by what they do, as of flua 0.1.142.

Scaffold and understand your devices

flua --tool newQA binarySwitch "Demo switch"   # -> binarySwitch.lua

The house and the controller

flua --tool hub add home http://192.168.1.20 admin   # prompts for the password
flua --tool hub switch home                          # repoint the global default
flua --tool hub switch home --project                # pin this project only

Package and deploy

flua --tool pack binarySwitch.lua          # -> Demo_switch.fqa
flua --tool unpack Demo_switch.fqa -d unpacked   # -> unpacked/Demo_switch_main.lua

Inspect and diagnose

Two commands cover the rest of the surface: a bare flua --tool lists every tool with its one-line purpose, and flua --tool <name> --help gives the tool's own usage. Agents get the same tools through flua-mcp's flua_tool, so anything this page shows is something an agent can run.