Skip to content

autory convert model

Usage:  [OPTIONS] INPUT_PATH

  Convert an Autory model file.

  INPUT_PATH: Path to the model file to convert.

  At least one of `--output-path` or `--output-format` must be specified. If
  both are specified, the output format will be determined by the `--output-
  format` option.

  It is currently possible to convert FROM an Excel workbook, but not TO an
  Excel workbook.

Options:
  -o, --output-path FILE          Output path for the converted model. If
                                  omitted, the output path is the same as the
                                  input path, but with a changed extension.
  -f, --output-format [json|yaml]
                                  The format in which to write the new model
                                  file. If omitted, this is inferred from the
                                  extension of the output path.
  --overwrite [always|never|error|prompt]
                                  What to do if the output file already
                                  exists.

                                  always: Overwrite the output file (without
                                  prompting).

                                  never: Don't write anything. Exit cleanly.

                                  error: Don't write anything. Exit with an
                                  error code. This is the default.

                                  prompt: Ask the user what to do.
  --help                          Show this message and exit.