Cani alpha show rack
cani alpha show rack
List racks in the inventory.
Synopsis
List racks, or show a single rack by name or UUID. When a rack is specified, the default output is a visual detail view.
Output formats (-o): table Tabular list of racks json JSON output tree Hierarchical tree view classic Full-height ASCII rack with device symbols minimap Compact 2-character-wide rack columns detail Single-rack minimap with right-side annotations routing Cable routing with branching visualization
Examples: cani show rack # table of all racks cani show rack MyRack # detail view of one rack cani show rack -o minimap # compact minimap of all racks cani show rack -o routing -VV # cable routing with all cables cani show rack -o json # JSON output
Valid formats: table, json, tree, classic, minimap, detail, routing
cani alpha show rack [name|uuid] [flags]
Options
--columns int Number of rack columns before wrapping (0=auto, used with minimap)
-h, --help help for rack
-I, --interactive Interactive toggle mode for routing view
-l, --labels Show A/B termination labels on routing view
-V, --verbose count Verbose output: -V shows legend, -VV shows all cables
Options inherited from parent commands
--config string config file (default "/home/runner/.cani/cani.yml")
--datastore string datastore type (json, postgres) (default "json")
--datastore-path string override path to the datastore file (for testing)
--debug enable debug mode
-f, --file string Load inventory from a YAML file instead of the datastore
-o, --format string Output format (table, json, tree) (default "table")
--no-color Disable colorized output
-s, --sort string Sort by this field (name, type, id, status, vendor, model) (default "name")
--strict require a resolved device type (slug) for all devices (default true)
--types-dirs strings local directories with additional hardware types
--types-repo-clone clone types repos that are not yet cached locally
--types-repo-pull pull latest changes from types repos on startup
--types-repos strings git repo URLs with additional hardware types
--with strings Include extra detail in tree output (modules, interfaces, cables, empty-us) (default [empty-us])
SEE ALSO
- cani alpha show - Show items from the inventory