Skip to content

Commit

Permalink
expose output location setting in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
zocker-160 committed Oct 12, 2021
1 parent 6efb075 commit 1b5fae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SSTtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def cli_params():

parser.add_argument("INPUT", nargs='+', help="input file(s) or folder")

parser.add_argument("-o", "--output", dest="output", default="", help="output folder")
parser.add_argument("-nc", dest="confirm", action="store_false", help="disable all confirm messages")
parser.add_argument("-nb", dest="bundling", action="store_false", help="disable bundling of TGA images")
parser.add_argument("-s", "--single", dest="single_res", action="store_true", help="export only one (the biggest) resolution")
Expand All @@ -246,13 +247,12 @@ def cli_params():

CLI = cli_params()

#print(CLI)

fromCLI = True

try:
main(
inputfiles=CLI.INPUT,
outputlocation=CLI.output,
selection=None,
confirm=CLI.confirm,
overwrite=CLI.force_overwrite,
Expand Down

0 comments on commit 1b5fae9

Please sign in to comment.