2010-12-30 20:08:22 -04:00
|
|
|
{- 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 16:02:51 -04:00
|
|
|
import Common.Annex
|
2010-12-30 20:08:22 -04:00
|
|
|
import Command
|
2011-10-15 17:47:03 -04:00
|
|
|
import Annex.UUID
|
2010-12-30 20:08:22 -04:00
|
|
|
|
2011-10-29 15:19:05 -04:00
|
|
|
def :: [Command]
|
2012-02-14 12:40:40 -04:00
|
|
|
def = [oneShot $ command "configlist" paramNothing seek
|
2011-10-29 15:19:05 -04:00
|
|
|
"outputs relevant git configuration"]
|
2010-12-30 20:08:22 -04:00
|
|
|
|
|
|
|
seek :: [CommandSeek]
|
|
|
|
seek = [withNothing start]
|
|
|
|
|
2011-09-15 16:50:49 -04:00
|
|
|
start :: CommandStart
|
2010-12-30 20:08:22 -04:00
|
|
|
start = do
|
2011-10-11 14:43:45 -04:00
|
|
|
u <- getUUID
|
2011-11-07 23:21:22 -04:00
|
|
|
liftIO $ putStrLn $ "annex.uuid=" ++ fromUUID u
|
2011-05-15 02:02:46 -04:00
|
|
|
stop
|