Skip to content

vor create factors

vor create factors

Create factors from a file

Synopsis

Create multiple factors from a YAML or JSON file.

This command reads a list of factor definitions from a file and creates them. It handles dependencies by creating base factors first, followed by volatility factors that may depend on them. A preview of the factors to be created is shown before asking for confirmation.

vor create factors -f <file> [flags]

Examples

# Create factors from a YAML file
vor create factors --file factors.yaml

# Create factors from a JSON file
vor create factors -f factors.json

Options

  -f, --file string    Path to the JSON or YAML file containing the factors to create
  -y, --force          Skip confirmation prompts and automatically overwrite existing factors
  -h, --help           help for factors
  -t, --token string   VOR Stream token to use when making API call

Options inherited from parent commands

      --play string   playpen path
      --renew-token   renew token (default true)

SEE ALSO

  • vor create - Create an object, i.e. playpen, queue, process, token