git-annex/Command/Semitrust.hs

21 lines
461 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 = command "semitrust" SectionSetup
"return repository to default trust level"
(paramRepeating paramRemote) (withParams seek)
seek :: CmdParams -> CommandSeek
2014-02-20 19:12:35 +00:00
seek = trustCommand "semitrust" SemiTrusted