git-annex/Command/Untrust.hs

22 lines
494 B
Haskell
Raw Normal View History

2010-12-28 21:44:55 +00:00
{- git-annex command
-
- Copyright 2010 Joey Hess <id@joeyh.name>
2010-12-28 21:44:55 +00:00
-
- Licensed under the GNU AGPL version 3 or higher.
2010-12-28 21:44:55 +00:00
-}
module Command.Untrust where
import Command
2014-02-20 19:12:35 +00:00
import Types.TrustLevel
import Command.Trust (trustCommand)
2010-12-28 21:44:55 +00:00
cmd :: Command
cmd = withAnnexOptions [jsonOptions] $
command "untrust" SectionSetup "do not trust a repository"
(paramRepeating paramRepository)
(withParams' seek completeRemotes)
seek :: CmdParams -> CommandSeek
2014-02-20 19:12:35 +00:00
seek = trustCommand "untrust" UnTrusted