francisdb / vpxtool

Terminal based frontend and utilities for Visual Pinball
Apache License 2.0
18 stars 5 forks source link

feat: assemble output file arg #384

Closed francisdb closed 2 weeks ago

francisdb commented 2 weeks ago
> vpxtool help assemble`
Assembles a vpx file

Usage: vpxtool assemble [OPTIONS] <DIRPATH> [VPXPATH]

Arguments:
  <DIRPATH>  The path to the extracted vpx structure
  [VPXPATH]  Optional path of the VPX file to assemble to. Defaults to <DIRPATH>.vpx.

Options:
  -f, --force  Do not ask for confirmation before overwriting existing files
  -h, --help   Print help

Example below

vpxtool extract ~/tables/foo.vpx
vpxtool assemble ~/tables/foo ./foo.vpx

Also fixes the default file name bug. fixes #382