git-annex/Command/ConfigList.hs
2011-10-15 17:47:03 -04:00

25 lines
476 B
Haskell

{- git-annex command
-
- Copyright 2010 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Command.ConfigList where
import Common.Annex
import Command
import Annex.UUID
command :: [Command]
command = [repoCommand "configlist" paramNothing seek
"outputs relevant git configuration"]
seek :: [CommandSeek]
seek = [withNothing start]
start :: CommandStart
start = do
u <- getUUID
liftIO $ putStrLn $ "annex.uuid=" ++ u
stop