veidemannctl

veidemannctl import convertoos

Convert Out of Scope file(s) to seed import file

veidemannctl import convertoos [flags]

Options

      --check-uri                    Check the uri for liveness and follow 301 (default true)
      --check-uri-timeout duration   Timeout when checking uri for liveness (default 2s)
  -c, --concurrency int              Number of concurrent workers (default 16)
  -b, --db-dir string                Directory for storing state db (default "/tmp/veidemannctl")
      --entity-id string             Entity id to use for all seeds (overrides entity-name and entity-label)
      --entity-label strings         Entity labels to use for all seeds (default [source:oos])
      --entity-name string           Entity name to use for all seeds
  -e, --err-file string              File to write errors to. '-' writes to stderr. (default "-")
  -f, --filename string              Filename or directory to read from. If input is a directory, all files ending in .yaml or .json will be tried. An input of '-' will read from stdin.
  -h, --help                         help for convertoos
      --ignore-scheme                Ignore the URL's scheme when checking if this URL is already imported. (default true)
  -o, --out-file string              File to write result to. '-' writes to stdout. (default "-")
      --seed-label strings           Seed labels to use for all seeds (default [source:oos])
      --skip-import                  Do not import existing seeds into state database
      --toplevel                     Convert URI to toplevel by removing path (default true)
      --truncate                     Truncate state database

Options inherited from parent commands

      --api-key string                If set, it will be used as the bearer token for authentication
      --config string                 Path to the config file to use (By default configuration file is stored under $HOME/.veidemann/contexts/
      --context string                The name of the context to use
      --log-caller                    include information about caller in log output
      --log-format string             set log format, available formats are: "pretty" or "json" (default "pretty")
      --log-level string              set log level, available levels are "panic", "fatal", "error", "warn", "info", "debug" and "trace" (default "info")
      --server string                 The address of the Veidemann server to use
      --server-name-override string   If set, it will override the virtual host name of authority (e.g. :authority header field) in requests

SEE ALSO