Modularize!
[srt2vtt.git] / scripts / srt2vtt
1 #!/usr/bin/guile --no-auto-compile
2 -*- scheme -*-
3 !#
4
5 ;;; srt2vtt --- SRT to WebVTT converter
6 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
7 ;;;
8 ;;; srt2vtt is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or
11 ;;; (at your option) any later version.
12 ;;;
13 ;;; srt2vtt is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ;;; General Public License for more details.
17 ;;;
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with srt2vtt.  If not, see <http://www.gnu.org/licenses/>.
20
21 (use-modules (ice-9 match)
22              (srt2vtt ui))
23
24 (match (command-line)
25   ((arg0 args ...)
26    (main args)))