Skip to content

Cani alpha import

cani alpha import

Import assets into the inventory

Synopsis

Import assets into the inventory from an external source using a provider.

cani alpha import PROVIDER [flags]

Options

  -h, --help           help for import
      --no-color       Disable colorized output
      --phase string   ETL phases to run: e (extract), et (+transform), etl (+load) (default "etl")
      --step           Step through each item interactively (implies --debug)

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