git-annex/Command/ConfigList.hs

26 lines
483 B
Haskell
Raw Normal View History

{- git-annex command
-
- Copyright 2010 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Command.ConfigList where
2011-10-05 20:02:51 +00:00
import Common.Annex
import Command
import Annex.UUID
def :: [Command]
2012-09-16 00:46:38 +00:00
def = [noCommit $ command "configlist" paramNothing seek
"outputs relevant git configuration"]
seek :: [CommandSeek]
seek = [withNothing start]
start :: CommandStart
start = do
2011-10-11 18:43:45 +00:00
u <- getUUID
liftIO $ putStrLn $ "annex.uuid=" ++ fromUUID u
2011-05-15 06:02:46 +00:00
stop