Skip to content

Cani alpha export connections

cani alpha export connections

Export current cable connections as YAML or CSV.

Synopsis

Export all cable connections from the inventory as a YAML or CSV file. The output can be edited and re-applied with 'cani alpha add connections'.

Example: cani alpha export connections > topology.yaml cani alpha export connections --format csv > topology.csv

cani alpha export connections [flags]

Options

      --format string          Output format: yaml or csv (default "yaml")

Options inherited from parent commands

      --merge                  Update existing devices instead of skipping conflicts
      --dry-run                Preview changes without making API calls
      --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