aboutsummaryrefslogtreecommitdiff
path: root/CmdLine
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-08-29 14:58:38 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-08-29 15:10:01 -0400
commit44d71938c6535f207932799ea3e231dc78bcb8de (patch)
treed66bea23fe7d0ad4cf34adcc9b4324ba58191e4f /CmdLine
parentb0836c1a8ce6edb0604648c1fcf4396f43ebd998 (diff)
initial export command
Very basic operation works, but of course this is only the beginning. This commit was sponsored by Nick Daly on Patreon.
Diffstat (limited to 'CmdLine')
-rw-r--r--CmdLine/GitAnnex.hs2
-rw-r--r--CmdLine/Usage.hs2
2 files changed, 4 insertions, 0 deletions
diff --git a/CmdLine/GitAnnex.hs b/CmdLine/GitAnnex.hs
index be5f56ba0..1a5a13839 100644
--- a/CmdLine/GitAnnex.hs
+++ b/CmdLine/GitAnnex.hs
@@ -95,6 +95,7 @@ import qualified Command.AddUrl
import qualified Command.ImportFeed
import qualified Command.RmUrl
import qualified Command.Import
+import qualified Command.Export
import qualified Command.Map
import qualified Command.Direct
import qualified Command.Indirect
@@ -141,6 +142,7 @@ cmds testoptparser testrunner =
, Command.ImportFeed.cmd
, Command.RmUrl.cmd
, Command.Import.cmd
+ , Command.Export.cmd
, Command.Init.cmd
, Command.Describe.cmd
, Command.InitRemote.cmd
diff --git a/CmdLine/Usage.hs b/CmdLine/Usage.hs
index c4522788f..6dd2d053d 100644
--- a/CmdLine/Usage.hs
+++ b/CmdLine/Usage.hs
@@ -94,6 +94,8 @@ paramAddress :: String
paramAddress = "ADDRESS"
paramItem :: String
paramItem = "ITEM"
+paramTreeish :: String
+paramTreeish = "TREEISH"
paramKeyValue :: String
paramKeyValue = "K=V"
paramNothing :: String