1{-# OPTIONS_GHC -Wall #-}
10import Data.List.NonEmpty (NonEmpty((:|)))
11import qualified Elm.Compiler.Module as Module
12import qualified Elm.Project.Json as Project
13import qualified Elm.Project.Summary as Summary
14import qualified Reporting.Exit as Exit
15import qualified Reporting.Task as Task
20 | Roots (NonEmpty roots)
23fromPaths :: Summary.Summary -> [FilePath] -> Task.Task (Args FilePath)
24fromPaths summary paths =
30 return $ Roots (first :| rest)
33fromSummary :: Summary.Summary -> Task.Task (Args a)
34fromSummary (Summary.Summary _ project _ _ _) =
37 return $ Pkg (Project.getExposed info)
40 Task.throw Exit.CannotMakeNothing
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