Skip to content

Cani alpha import example

cani alpha import example

Import assets using the example provider

Synopsis

Import assets using the example provider

cani alpha import example [flags]

Options

  -f, --file string            YAML inventory file to import
  -c, --csv string             CSV file to import (columns: PartNumber, Description, Quantity, [ConfigGroup])

Options inherited from parent commands

      --phase string           ETL phases to run: e (extract), et (+transform), etl (+load) (default "etl")
      --no-color               Disable colorized output
      --step                   Step through each item interactively (implies --debug)
      --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