3{-# LANGUAGE ScopedTypeVariables #-}
4{-# LANGUAGE TupleSections #-}
6Copyright (C) 2006-2016 John MacFarlane <jgm@berkeley.edu>
8This program is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2 of the License, or
11(at your option) any later version.
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
18You should have received a copy of the GNU General Public License
19along with this program; if not, write to the Free Software
20Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 Copyright : Copyright (C) 2006-2016 John MacFarlane
26 License : GNU GPL, version 2 or above
28 Maintainer : John MacFarlane <jgm@berkeley@edu>
30 Portability : portable
32Parses command-line options and calls the appropriate readers and
36import qualified Control.Exception as E
37import Text.Pandoc.App (convertWithOpts, defaultOpts, options, parseOptions)
38import Text.Pandoc.Error (PandocError, handleError)
41main = E.catch (parseOptions options defaultOpts >>= convertWithOpts)
42 (\(e :: PandocError) -> handleError (Left e))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list