CLI Reference¶
turberfield-dialogue¶
A utility to generate a printable screenplay.
The output is HTML. It is styled to be an input to WeasyPrint, so you can ultimately create a script in PDF format.
There are command line options to change the timing of dialogue, to repeat the action, and to control the number of roles an entity may take.
Example (see the episode Blue Monday):
turberfield-dialogue --references=bluemonday78.logic:references
--folder=bluemonday78.logic:ray
--folder=bluemonday78.logic:justin
--folder=bluemonday78.logic:local
--roles=1
--repeat=0
--strict
usage: turberfield-dialogue [-h] [--version] [-v] [--log LOG_PATH] [--references REFERENCES] [--folder FOLDER] [--roles ROLES] [--strict] [--repeat REPEAT]
[--pause PAUSE] [--dwell DWELL]
Named Arguments¶
- --version
Print the current version number
- -v, --verbose
Increase the verbosity of output
- --log
Set a file path for log output
- --references
Give an import path to a list of Python references.
- --folder
Give a sequence of import paths to SceneScript folders.
- --roles
The number of roles [1] permitted for each member of cast.
- --strict
Only perform fully-cast scene files.
- --repeat
Repeat the performance [0] times.
- --pause
Time in seconds [1.2] to pause after a line.
- --dwell
Time in seconds [0.3] to dwell on each word.
turberfield-rehearse¶
A utility to perform a folder of dramatic screenplay.
There are command line options to change the timing of dialogue, to repeat the action, and to control the number of roles an entity may take.
Example:
turberfield-rehearse --references=logic:references
--folder=logic:folder
--roles=16
--dwell=0.4
--pause=1.0
--db=action.sl3
usage: turberfield-rehearse [-h] [--version] [-v] [--log LOG_PATH] [--references REFERENCES] [--folder FOLDER] [--roles ROLES] [--strict] [--repeat REPEAT]
[--pause PAUSE] [--dwell DWELL] [--web] [--db DB] [--session SESSION] [--locn LOCN] [--port PORT]
Named Arguments¶
- --version
Print the current version number
- -v, --verbose
Increase the verbosity of output
- --log
Set a file path for log output
- --references
Give an import path to a list of Python references.
- --folder
Give a sequence of import paths to SceneScript folders.
- --roles
The number of roles [1] permitted for each member of cast.
- --strict
Only perform fully-cast scene files.
- --repeat
Repeat the performance [0] times.
- --pause
Time in seconds [1.2] to pause after a line.
- --dwell
Time in seconds [0.3] to dwell on each word.
- --web
Activate the web interface
- --db
Database URL.
- --session
Session id (internal use only)
- --locn
Script location (internal use only)
- --port
Set the port number of the web interface [8080]
Caution
This tool has a web mode which is experimental. It may not work perfectly in your web browser.
It also presents a potential security risk while it is running, since its CGI interface facilitates code execution on your computer.
Always check that your PC firewall does not permit outside access to the port configured by the program options. If in doubt, disconnect your PC from all networks while web mode is in operation.