Skip to content

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 [flags]

Options

      --columns int            Number of rack columns before wrapping (0=auto, used with minimap)
  -V, --verbose                Verbose output: -V shows legend, -VV shows all cables
  -l, --labels                 Show A/B termination labels on routing view
  -I, --interactive            Interactive toggle mode for routing view

Options inherited from parent commands

  -s, --sort string            Sort by this field (name, type, id, status, vendor, model) (default "name")
  -o, --format string          Output format (table, json, tree) (default "table")
      --no-color               Disable colorized output
  -f, --file string            Load inventory from a YAML file instead of the datastore
      --with stringSlice       Include extra detail in tree output (modules, interfaces, cables, empty-us) (default [empty-us])
      --config string          config file (default "/home/runner/.cani/cani.yml")
      --debug                  enable debug mode
      --datastore string       datastore type (json, postgres) (default "json")
      --datastore-path string  override path to the datastore file (for testing)
      --types-dirs stringSlice local directories with additional hardware types
      --types-repos stringSlice git repo URLs 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
      --strict                 require a resolved device type (slug) for all devices (default true)

SEE ALSO