File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 44cli = require ( 'commander' ) ;
55
66cli .
7+ usage ( '[options] <file>' ) .
8+ description ( 'Split a movie script into files for each character removing ' +
9+ 'comments.' ) .
710 option ( '-n, --dry-run' , 'don\'t write output files' ) .
811 option ( '-o, --output <path>' ,
912 '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