aboutsummaryrefslogtreecommitdiff
path: root/git-annex.hs
blob: f951817847480aa1f34b93ef04c9abca4f4a1bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{- git-annex main program
 -
 - Copyright 2010 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

import System.Environment

import qualified GitRepo as Git
import CmdLine
import GitAnnex

main :: IO ()
main = do
	args <- getArgs
	gitrepo <- Git.repoFromCwd
	dispatch gitrepo args cmds options header