module Subtitles::Config
Defined in:
config.crConstant Summary
-
HELP_TEXT =
"subtitles.cr -- convert between subtitles formats\n\nUsage: subtitles /path/to/original.subtitles /path/to/output.format\n\n...where the .format value indicates the filetype you wish to output. The\ninput filetype will be automatically detected from the file contents.\n\nAvailable formats:\n - .srt -- SubRip subtitles\n - .ass and .ssa -- Substation Alpha subtitles\n - .json -- A JSON representation of the internal intermediary\n format.\n\nOptionally one can specify the `--to` option, to specify an output format.\nThe --to option takes the place of the file extension for a file which\ndoesn't have one.\n"
Class Method Summary
-
.command_line_interface(args = ARGV)
Run the CLI on the specified args
-
.from_args=(from_args : Bool)
Set to false to disable gathering command line arguments
-
.from_args? : Bool
Set to false to disable gathering command line arguments
-
.log_file : IO
where to output any logging info.
-
.log_level : Logger::Severity
The amount of debugging information to log
-
.logger : Logger
A global(-ish) Logger instance