2012-12-13 19:44:56 +00:00
|
|
|
{- git-annex command
|
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2012 Joey Hess <id@joeyh.name>
|
2012-12-13 19:44:56 +00:00
|
|
|
-
|
2019-03-13 19:48:14 +00:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2012-12-13 19:44:56 +00:00
|
|
|
-}
|
|
|
|
|
|
|
|
module Command.Indirect where
|
|
|
|
|
|
|
|
import Command
|
|
|
|
|
2015-07-08 16:33:27 +00:00
|
|
|
cmd :: Command
|
|
|
|
cmd = notBareRepo $ noDaemonRunning $
|
2019-08-26 18:52:55 +00:00
|
|
|
command "indirect" SectionSetup "switch repository to indirect mode (deprecated)"
|
2015-07-08 19:08:02 +00:00
|
|
|
paramNothing (withParams seek)
|
2012-12-13 19:44:56 +00:00
|
|
|
|
2015-07-08 19:08:02 +00:00
|
|
|
seek :: CmdParams -> CommandSeek
|
2018-10-01 18:12:06 +00:00
|
|
|
seek = withNothing (commandAction start)
|
2012-12-13 19:44:56 +00:00
|
|
|
|
|
|
|
start :: CommandStart
|
2019-08-26 18:52:55 +00:00
|
|
|
start = stop
|