File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 4
4
cli = require ( 'commander' ) ;
5
5
6
6
cli .
7
+ usage ( '[options] <file>' ) .
8
+ description ( 'Split a movie script into files for each character removing ' +
9
+ 'comments.' ) .
7
10
option ( '-n, --dry-run' , 'don\'t write output files' ) .
8
11
option ( '-o, --output <path>' ,
9
12
'specify output directory, default is input file without extension' ) .
Original file line number Diff line number Diff line change
1
+ # Script character extractor
2
+
3
+ Use this script to extract the dialogs from any movie script and get different
4
+ files for every character.
5
+
6
+ ## Usage
7
+
8
+ Running ` node cli.js --help ` will get you what you need to get started. An
9
+ example would be:
10
+
11
+ node cli.js ~/movie_script.html
12
+
13
+ that will create a folder named ` movie_script ` in the same directory with a txt
14
+ file for every character.
You can’t perform that action at this time.
0 commit comments