diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-12 15:44:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-12 15:44:54 -0400 |
commit | e53900a54597437818d785aa6b1683b3b49d2afb (patch) | |
tree | 3a1f37ca19be15361a2a26111eb80a4ad0ef697d /CmdLine.hs | |
parent | 4fbdb197d524720d1ea77795b33cb5d24152bce9 (diff) |
stub
Diffstat (limited to 'CmdLine.hs')
-rw-r--r-- | CmdLine.hs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/CmdLine.hs b/CmdLine.hs index cc8708889..60ba81d30 100644 --- a/CmdLine.hs +++ b/CmdLine.hs @@ -39,8 +39,12 @@ argvToMode argv = do where header = "Usage: git-annex [mode] file" dispatch :: State -> Mode -> FilePath -> IO () -dispatch state mode file = do +dispatch state mode item = do case (mode) of - Add -> annexFile state file - Unannex -> unannexFile state file - _ -> error "not implemented" + Add -> annexFile state item + Push -> annexPushRepo state item + Pull -> annexPullRepo state item + Want -> annexWantFile state item + Get -> annexGetFile state item + Drop -> annexDropFile state item + Unannex -> unannexFile state item |