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
|
@ -17,17 +17,17 @@ import qualified Remotes
|
|||
import UUID
|
||||
import Messages
|
||||
|
||||
seek :: [SubCmdSeek]
|
||||
seek :: [CommandSeek]
|
||||
seek = [withString start]
|
||||
|
||||
{- Marks a remote as not trusted. -}
|
||||
start :: SubCmdStartString
|
||||
start :: CommandStartString
|
||||
start name = do
|
||||
r <- Remotes.byName name
|
||||
showStart "untrust" name
|
||||
return $ Just $ perform r
|
||||
|
||||
perform :: Git.Repo -> SubCmdPerform
|
||||
perform :: Git.Repo -> CommandPerform
|
||||
perform repo = do
|
||||
uuid <- getUUID repo
|
||||
trusted <- getTrusted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue