rename some stuff and prepare to break out more into Command/*
This commit is contained in:
parent
14d59b40fb
commit
6a5be9d53c
24 changed files with 176 additions and 158 deletions
|
@ -13,11 +13,11 @@ import Control.Monad.State (liftIO)
|
|||
import Command
|
||||
import Core
|
||||
|
||||
seek :: [SubCmdSeek]
|
||||
seek :: [CommandSeek]
|
||||
seek = [withDefault "." withFilesInGit start]
|
||||
|
||||
{- Output a list of files. -}
|
||||
start :: SubCmdStartString
|
||||
start :: CommandStartString
|
||||
start file = isAnnexed file $ \(key, _) -> do
|
||||
exists <- inAnnex key
|
||||
when exists $ liftIO $ putStrLn file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue