Browse Source

refactor buildSpec in CLI validation.

master
Craig Oates 6 years ago
parent
commit
8249d4a670
  1. 14
      DeathSocketCLI/Validation.fs

14
DeathSocketCLI/Validation.fs

@ -31,11 +31,9 @@
"Please use the 'list-colours' command to see what you can use."))
let buildSpec imgPath numRows numColumns pWidth colour newPath =
let spec =
{ originalPath = imgPath
savePath = newPath
colour = parseColour colour
penWidth = pWidth
rows = numRows
columns = numColumns }
spec
{ originalPath = imgPath
savePath = newPath
colour = parseColour colour
penWidth = pWidth
rows = numRows
columns = numColumns }
Loading…
Cancel
Save