Skip to content

Cani alpha export

cani alpha export

Export inventory to an external provider

Synopsis

Export the CANI inventory to an external provider using a provider.

cani alpha export PROVIDER [flags]

Options

      --dry-run   Preview changes without making API calls
  -h, --help      help for export
      --merge     Update existing devices instead of skipping conflicts

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
      --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

SEE ALSO