Skip to content

autory patch

Usage:  [OPTIONS] [PATHS]...

  Patch outdated Excel workbook models to make them compatible with the VBA
  autory engine.

  PATHS: Names or paths of Excel workbook files containing Autory models.
  Supports glob patterns.

Options:
  --vba-engine-dir DIRECTORY      The folder containing `autory.xlsm` (the VBA
                                  engine). Instead of detecting the path to
                                  the VBA autory engine automatically, use the
                                  given path. For advanced users and
                                  developers only.
  --visible / --invisible         Whether to show Excel while applying
                                  patches. Defaults to invisible. Useful for
                                  debugging.
  --keep-original / --no-keep-original
                                  Whether to keep a backup of the original
                                  file after a successful patch. Defaults to
                                  True. When using git, you may want to
                                  disable this for convenience. If the patch
                                  fails, the original file will be restored,
                                  regardless of this setting.
  --update-vba / --no-update-vba  Whether to update the VBA code in the model
                                  workbooks before running the patches. For
                                  advanced users and developers only.
  --exclude TEXT                  File paths to exclude from patching.
                                  Supports glob patterns.
  --help                          Show this message and exit.