export: Added options for json output
Just worked, no need to do anything except add the options.
This commit is contained in:
parent
bbdba72624
commit
fc9833f68d
4 changed files with 26 additions and 3 deletions
|
@ -44,9 +44,10 @@ import qualified Data.Map as M
|
|||
import Control.Concurrent
|
||||
|
||||
cmd :: Command
|
||||
cmd = command "export" SectionCommon
|
||||
"export content to a remote"
|
||||
paramTreeish (seek <$$> optParser)
|
||||
cmd = withGlobalOptions [jsonOptions, jsonProgressOption] $
|
||||
command "export" SectionCommon
|
||||
"export content to a remote"
|
||||
paramTreeish (seek <$$> optParser)
|
||||
|
||||
data ExportOptions = ExportOptions
|
||||
{ exportTreeish :: Git.Ref
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue