git-annex/Command/Semitrust.hs

23 lines
520 B
Haskell
Raw Normal View History

{- git-annex command
-
- Copyright 2010 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU AGPL version 3 or higher.
-}
module Command.Semitrust where
import Command
2014-02-20 19:12:35 +00:00
import Types.TrustLevel
import Command.Trust (trustCommand)
cmd :: Command
cmd = withAnnexOptions [jsonOptions] $
command "semitrust" SectionSetup
"return repository to default trust level"
(paramRepeating paramRepository)
(withParams' seek completeRemotes)
seek :: CmdParams -> CommandSeek
2014-02-20 19:12:35 +00:00
seek = trustCommand "semitrust" SemiTrusted