# Debug commands of @ferret/physics-electric

Call with `world.commands.execute(name, args)`; `world.commands.list()` on the running game is the authority. Read from the sources of these packages.

- `circuit.add` — add an element: {circuit, kind, name, a, b, value?, ...}
- `circuit.connect` — join two nodes with a wire: {circuit, a, b}
- `circuit.info` — what is in the electric capability
- `circuit.set` — change an element: {circuit, element, value? | closed?}
- `circuit.state` — node voltages, element currents and powers, losses: {circuit}
- `circuit.step` — run a circuit for some seconds: {circuit, seconds, h?}
- `meter.read` — a voltage or a current: {circuit, node? | element?}
