1--------------------------------------------------------------------------------
7--------------------------------------------------------------------------------
8import Control.Monad (forM_)
9import System.Directory (copyFile)
10import System.Environment (getArgs, getProgName)
11import System.Exit (exitFailure)
12import System.FilePath ((</>))
15--------------------------------------------------------------------------------
16import Hakyll.Core.Util.File
20--------------------------------------------------------------------------------
23 progName <- getProgName
25 srcDir <- getDataFileName "example"
26 files <- getRecursiveContents srcDir
29 [dstDir] -> forM_ files $ \file -> do
30 let dst = dstDir </> file
32 putStrLn $ "Creating " ++ dst
36 putStrLn $ "Usage: " ++ progName ++ " <directory>"
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