tld list, inspect & render
View MarkdownOnce your workspace is built, these commands let you look around without opening the editor. All of them are read-only.
tld list
Section titled “tld list”tld list mirrors the frontend inventory from the local YAML cache.
tld list elementstld list connectorstld list viewslist elements
Section titled “list elements”REF NAME KIND TECHNOLOGY OWNER TAGS VIEW IDapi-gateway API Gateway service Go - backend yes 12Filter with --search (matches ref, name, kind, technology, owner, tags) or --kind:
tld list elements --kind databasetld list elements --search authlist connectors
Section titled “list connectors”Filter with --search (view, source, target, label, relationship) or --view:
tld list connectors --view api-gatewaylist views
Section titled “list views”Views are the drill-down diagrams owned by elements. tld list views shows the derived hierarchy, including the synthetic root:
tld list viewstld list views --parent api-gatewaytld list views --treeEach row reports the element count, child views, connector count, depth, and full path from root. --tree renders the hierarchy as a tree instead of a table.
tld inspect
Section titled “tld inspect”tld inspect shows a single resource across every state source: your YAML, the local database, and optionally the cloud.
tld inspect api-gatewayIf a ref is ambiguous across resource types, narrow it with --type element|view|connector. Include the local database with --all, or add the cloud with --cloud:
tld inspect root:api-gateway:auth-svc --type connectortld inspect api-gateway --allThe output lists the resource’s fields, YAML metadata, placements, related connectors, and whether it’s present or missing in each state source.
tld render
Section titled “tld render”tld render prints a view as Mermaid, so you can drop it into a Markdown file.
tld render roottld render api-gatewayIt emits a Mermaid flowchart LR with the view’s elements and the connectors scoped to it. Write it to a file with -o:
tld render api-gateway -o api-gateway.mmd--view is an alternative to the positional argument, and --format mermaid is the only supported format today.
tld tech
Section titled “tld tech”tld tech inspects the built-in technology catalog that powers tld add --technology suggestions.
tld techtld tech --limit 20 --offset 40tld tech suggest kubernetees--limitcaps the number of entries returned (1–500, default 50).--offsetpages through the catalog.tld tech suggest <name>returns close matches for a misspelled or partial technology name.
JSON output
Section titled “JSON output”Every command honors the global --format json and --compact flags:
tld list elements --format jsontld inspect api-gateway --format json --compacttld render root --format json