@@ -16,7 +16,6 @@ const cliHelp =
16
16
" build\n" +
17
17
" clean\n" +
18
18
" format\n" +
19
- " convert\n" +
20
19
" dump\n" +
21
20
" help\n" +
22
21
"\n" +
@@ -58,17 +57,6 @@ const formatHelp =
58
57
" -all Format the whole project \n" +
59
58
" -check Check formatting for file or the whole project. Use `-all` to check the whole project\n" ;
60
59
61
- const convertHelp =
62
- "Usage: rescript convert <options> [files]\n" +
63
- "\n" +
64
- "`rescript convert` converts the current directory\n" +
65
- "\n" +
66
- "**This command removes old OCaml files and creates new ReScript \n" +
67
- "files. Make sure your work is saved first!**\n" +
68
- "\n" +
69
- "Options:\n" +
70
- " -all Convert the whole project\n" ;
71
-
72
60
const dumpHelp =
73
61
"Usage: rescript dump <options> [target]\n" +
74
62
"`rescript dump` dumps the information for the target\n" ;
@@ -232,26 +220,6 @@ async function test() {
232
220
assert . equal ( out . status , 0 ) ;
233
221
}
234
222
235
- {
236
- // Shows convert help with --help arg
237
- const out = await exec ( `../../../rescript` , [ "convert" , "--help" ] , {
238
- cwd : __dirname ,
239
- } ) ;
240
- assert . equal ( out . stdout , convertHelp ) ;
241
- assert . equal ( out . stderr , "" ) ;
242
- assert . equal ( out . status , 0 ) ;
243
- }
244
-
245
- {
246
- // Shows convert help with -h arg
247
- const out = await exec ( `../../../rescript` , [ "convert" , "-h" ] , {
248
- cwd : __dirname ,
249
- } ) ;
250
- assert . equal ( out . stdout , convertHelp ) ;
251
- assert . equal ( out . stderr , "" ) ;
252
- assert . equal ( out . status , 0 ) ;
253
- }
254
-
255
223
{
256
224
// Shows dump help with --help arg
257
225
const out = await exec ( `../../../rescript` , [ "dump" , "--help" ] , {
0 commit comments