You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local herePath = hereSource and hereSource:match"@?(.+)"
assertLine(herePath, "Cannot get current directory.")
herePath = herePath:gsub("\\", "/")
local pathToSimpleSquish = herePath:gsub("[^/]+$", "simpleSquish.lua")
local squish = dofile(pathToSimpleSquish)
local squishArgs = _G.arg
local pathIn = table.remove(squishArgs, 1) or print("[SimpleSquish] Usage: lua simpleSquishCl.lua <inputFile> <outputFile> <squishArguments>") or os.exit()
local pathOut = table.remove(squishArgs, 1) or errorLine("Missing output path argument.")