File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 17
17
18
18
TODO
19
19
20
+ - [ ] NPM i -g not working on Windows
20
21
- [ ] track file deletion or validate that it is working
21
22
- [ ] add commit support?
22
23
Original file line number Diff line number Diff line change @@ -33,13 +33,15 @@ const argv = yargs
33
33
} )
34
34
. help ( )
35
35
. alias ( "help" , "h" )
36
- . positional ( "url" , {
37
- default : "http://localhost:3000/" ,
38
- demandOption : false ,
39
- describe : `The address the server logged when started. Should look like 'some-random-string.loca.lt'.
40
- If not provided will attach to localhost:3000 scenario where server/client is the same machine` ,
41
- type : "string" ,
42
- } )
36
+
37
+ . usage ( "$0 [<url>] [-f]" , "Connects to a running server" , ( yargs ) =>
38
+ yargs . positional ( "url" , {
39
+ describe : `The address the server logged when started. Should look like 'some-random-string.loca.lt'.
40
+ If not provided will attach to localhost:3000 which is used locally by the server` ,
41
+ type : "string" ,
42
+ default : "http://localhost:3000/" ,
43
+ } )
44
+ )
43
45
. parseSync ( process . argv . slice ( 2 ) ) ;
44
46
45
47
// prepare working directory
You can’t perform that action at this time.
0 commit comments