started on auth
This commit is contained in:
parent
b5b3d8cde2
commit
08371c3745
6 changed files with 76 additions and 16 deletions
|
@ -24,7 +24,16 @@ import Control.Concurrent.STM
|
|||
cmd :: Command
|
||||
cmd = command "p2phttp" SectionPlumbing
|
||||
"communicate in P2P protocol over http"
|
||||
paramNothing (withParams seek)
|
||||
paramNothing (seek <$$> optParser)
|
||||
|
||||
data Options = Options
|
||||
{ cmdParams :: CmdParams
|
||||
, authEnvOption :: Bool
|
||||
, authEnvHttpOption :: Bool
|
||||
, readOnlyOption :: Bool
|
||||
, appendOnlyOption :: Bool
|
||||
, wideOpenOption :: Bool
|
||||
}
|
||||
|
||||
seek :: CmdParams -> CommandSeek
|
||||
seek ["server"] = startConcurrency commandStages $
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue