git-annex/Command/ConfigList.hs

26 lines
482 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]
def = [oneShot $ 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