@@ -16,7 +16,7 @@ const gridToRelativeMain = require("./src/grid-to-relative-main");
1616const imageToRelativeMain = require ( "./src/image-to-relative-main" ) ;
1717const testExportMain = require ( "./src/test-export-main" ) ;
1818
19- const versionText = "Version 1.0 .0" ;
19+ const versionText = "Version 1.1 .0" ;
2020program . version ( versionText ) ;
2121
2222
@@ -29,7 +29,7 @@ program
2929. option ( "-r --raw" , optionDesc . exportRaw )
3030. action ( function ( inpFilePath , inpFindMode , options )
3131{
32- mapAbsoluteMain . runAbsoluteMapping ( inpFilePath , inpFindMode , options ) ;
32+ mapAbsoluteMain . performCommand ( inpFilePath , inpFindMode , options ) ;
3333} ) ;
3434
3535
@@ -42,7 +42,7 @@ program
4242. option ( "-r --raw" , optionDesc . exportRaw )
4343. action ( function ( inpFilePath , inpFindMode , options )
4444{
45- mapGridMain . runGridMapping ( inpFilePath , inpFindMode , options ) ;
45+ mapGridMain . performCommand ( inpFilePath , inpFindMode , options ) ;
4646} ) ;
4747
4848
@@ -55,7 +55,7 @@ program
5555. option ( "-r --raw" , optionDesc . exportRaw )
5656. action ( function ( inpFilePath , inpFindMode , options )
5757{
58- mapRelativeMain . runRelativeMapping ( inpFilePath , inpFindMode , options ) ;
58+ mapRelativeMain . performCommand ( inpFilePath , inpFindMode , options ) ;
5959} ) ;
6060
6161
@@ -76,7 +76,7 @@ program
7676. option ( "-y --start-y <number>" , optionDesc . imageOriginY )
7777. action ( function ( inpImagePath , inpFindMode , options )
7878{
79- mapImageMain . runImageMapping ( inpImagePath , inpFindMode , options ) ;
79+ mapImageMain . performCommand ( inpImagePath , inpFindMode , options ) ;
8080} ) ;
8181
8282
@@ -94,7 +94,7 @@ program
9494. option ( "-y --start-y <number>" , optionDesc . imageOriginY )
9595. action ( function ( inpWritePath , options )
9696{
97- createImageConfigMain . runConfigCreate ( inpWritePath , options ) ;
97+ createImageConfigMain . performCommand ( inpWritePath , options ) ;
9898} ) ;
9999
100100
@@ -105,7 +105,7 @@ program
105105. description ( cmdDesc . loadImageConfig )
106106. action ( function ( inpFilePath )
107107{
108- readImageConfigMain . runConfigRead ( inpFilePath ) ;
108+ readImageConfigMain . performCommand ( inpFilePath ) ;
109109} ) ;
110110
111111
@@ -117,7 +117,7 @@ program
117117. option ( "-i --ignore-parse-errors" , optionDesc . ignoreTextParse )
118118. action ( function ( inpGridPath , inpWritePath , options )
119119{
120- gridToAbsoluteMain . runFileConversion ( inpGridPath , inpWritePath , options ) ;
120+ gridToAbsoluteMain . performCommand ( inpGridPath , inpWritePath , options ) ;
121121} ) ;
122122
123123
@@ -138,7 +138,7 @@ program
138138. option ( "-y --start-y <number>" , optionDesc . imageOriginY )
139139. action ( function ( inpImagePath , inpWritePath , options )
140140{
141- imageToAbsoluteMain . runFileConversion ( inpImagePath , inpWritePath , options ) ;
141+ imageToAbsoluteMain . performCommand ( inpImagePath , inpWritePath , options ) ;
142142} ) ;
143143
144144
@@ -159,7 +159,7 @@ program
159159. option ( "-y --start-y <number>" , optionDesc . imageOriginY )
160160. action ( function ( inpImagePath , inpWritePath , options )
161161{
162- imageToGridMain . runFileConversion ( inpImagePath , inpWritePath , options ) ;
162+ imageToGridMain . performCommand ( inpImagePath , inpWritePath , options ) ;
163163} ) ;
164164
165165
@@ -171,7 +171,7 @@ program
171171. option ( "-i --ignore-parse-errors" , optionDesc . ignoreTextParse )
172172. action ( function ( inpFilePath , inpWritePath , options )
173173{
174- absoluteToRelativeMain . runFileConversion ( inpFilePath , inpWritePath , options ) ;
174+ absoluteToRelativeMain . performCommand ( inpFilePath , inpWritePath , options ) ;
175175} ) ;
176176
177177
@@ -183,7 +183,7 @@ program
183183. option ( "-i --ignore-parse-errors" , optionDesc . ignoreTextParse )
184184. action ( function ( inpFilePath , inpWritePath , options )
185185{
186- gridToRelativeMain . runFileConversion ( inpFilePath , inpWritePath , options ) ;
186+ gridToRelativeMain . performCommand ( inpFilePath , inpWritePath , options ) ;
187187} ) ;
188188
189189
@@ -204,7 +204,7 @@ program
204204. option ( "-y --start-y <number>" , optionDesc . imageOriginY )
205205. action ( function ( inpImagePath , inpWritePath , options )
206206{
207- imageToRelativeMain . runFileConversion ( inpImagePath , inpWritePath , options ) ;
207+ imageToRelativeMain . performCommand ( inpImagePath , inpWritePath , options ) ;
208208} ) ;
209209
210210// test-export [pathfinding-mode]
@@ -216,7 +216,7 @@ program
216216. option ( "-r --raw" , optionDesc . exportRaw )
217217. action ( function ( inpFindMode , options )
218218{
219- testExportMain . runTestExport ( inpFindMode , options ) ;
219+ testExportMain . performCommand ( inpFindMode , options ) ;
220220} ) ;
221221
222222
0 commit comments