homebutler inventory
Collects the server, its containers, and its open ports into one tree, or exports the same data as a Mermaid diagram.
inventory does not run on remote servers: it refuses --server and --all and exits 1.
For reading the tree and the exposed-ports view, see Inventory.
| Command | What it does |
|---|---|
export | Prints the inventory in a structured format. |
scan | Scans the local server and prints the inventory as a tree. |
show | Does the same as inventory scan. |
inventory exportโ
Prints the inventory in a structured format. The only format is a Mermaid flowchart.
homebutler inventory export [flags]
| Flag | Type | Default | Description |
|---|---|---|---|
--format | string | mermaid | Export format. mermaid is the only value. |
Export the inventory as Mermaid. The output is shortened to the first lines.
homebutler inventory export --format mermaid
graph TD
home["๐ Home Network"] --> main["๐ฅ main<br/>127.0.0.1"]
Any other format is an error.
homebutler inventory export --format dot
error: unsupported format: "dot" (supported: mermaid)
inventory scanโ
Scans the local server and prints the inventory as a tree.
homebutler inventory scan [flags]
| Flag | Type | Default | Description |
|---|---|---|---|
--filter | string | - | Show only part of the inventory. The one supported value is exposed, which lists the ports open on every interface. Not allowed with --json, which always returns the full inventory. |
List the exposed ports. The output is shortened to the lines for the containers created for this page.
homebutler inventory scan --filter exposed
๐ Home Network
Server main
๐ Exposed Ports
โโ :8501/tcp ยท webhook-sink
โโ :8500/tcp ยท web
โโ :22/tcp ยท unknown
โโ :8601/tcp ยท unknown
An unsupported filter value is an error.
homebutler inventory scan --filter bad
error: unsupported filter "bad" (supported: exposed)
inventory showโ
Does the same as inventory scan.
homebutler inventory show [flags]
| Flag | Type | Default | Description |
|---|---|---|---|
--filter | string | - | Show only part of the inventory. The one supported value is exposed. Not allowed with --json. |