git-annex/Command/Semitrust.hs
2015-01-21 12:50:09 -04:00

19 lines
436 B
Haskell

{- git-annex command
-
- Copyright 2010 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Command.Semitrust where
import Command
import Types.TrustLevel
import Command.Trust (trustCommand)
cmd :: [Command]
cmd = [command "semitrust" (paramRepeating paramRemote) seek
SectionSetup "return repository to default trust level"]
seek :: CommandSeek
seek = trustCommand "semitrust" SemiTrusted