Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extractvbs script path arg #411

Merged
merged 5 commits into from
Dec 18, 2024
Merged

feat: extractvbs script path arg #411

merged 5 commits into from
Dec 18, 2024

Conversation

francisdb
Copy link
Owner

@francisdb francisdb commented Dec 18, 2024

closes #410

This is a breaking change as we no longer support extracting scripts from many vpx files at once.

> vpxtool extractvbs --help`
Extracts the script from a vpx file by default into a vbs file next to it. Scripts placed next to the vpx file with the same name are considered sidecar scripts and will be picked up by Visual Pinball instead of the script inside the vpx file.

Usage: vpxtool extractvbs [OPTIONS] <VPXPATH> [VBSPATH]

Arguments:
  <VPXPATH>
          The path to the vpx file

  [VBSPATH]
          The optional path to the vbs file to write. Defaults to the vpx file path with the extension changed to .vbs. This option is mutually exclusive with DIRECTORY.

Options:
  -f, --force
          Will overwrite existing .vbs file if set.

      --output-dir <OUTPUT_DIRECTORY>
          The directory to extract the vbs file to. Only if no VBSPATH is provided

  -h, --help
          Print help (see a summary with '-h')

@francisdb francisdb merged commit d018668 into main Dec 18, 2024
5 checks passed
@francisdb francisdb deleted the feat/extractvbs-path-arg branch December 18, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant