mirror of https://github.com/voidlizard/hbs2
wip, dump -> cat
This commit is contained in:
parent
6ef80537a0
commit
79ab208f15
|
@ -53,7 +53,7 @@ pRefChan = hsubparser ( command "head" (info pRefChanHead (progDesc "hea
|
||||||
<> command "fetch" (info pRefChanFetch (progDesc "fetch and sync refchan value"))
|
<> command "fetch" (info pRefChanFetch (progDesc "fetch and sync refchan value"))
|
||||||
<> command "get" (info pRefChanGet (progDesc "get refchan value"))
|
<> command "get" (info pRefChanGet (progDesc "get refchan value"))
|
||||||
<> command "gk" (info pRefChanGK (progDesc "generate a group key"))
|
<> command "gk" (info pRefChanGK (progDesc "generate a group key"))
|
||||||
<> command "dump" (info pRefChanDump (progDesc "dump refchan content"))
|
<> command "cat" (info pRefChanCat (progDesc "dump refchan content"))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -373,8 +373,8 @@ pRefChanGK = do
|
||||||
liftIO $ print $ pretty (AsGroupKeyFile gk)
|
liftIO $ print $ pretty (AsGroupKeyFile gk)
|
||||||
|
|
||||||
|
|
||||||
pRefChanDump :: Parser (IO ())
|
pRefChanCat :: Parser (IO ())
|
||||||
pRefChanDump = do
|
pRefChanCat = do
|
||||||
opts <- pRpcCommon
|
opts <- pRpcCommon
|
||||||
puk <- argument pRefChanId (metavar "REFCHAH-REF")
|
puk <- argument pRefChanId (metavar "REFCHAH-REF")
|
||||||
pure $ flip runContT pure do
|
pure $ flip runContT pure do
|
||||||
|
|
Loading…
Reference in New Issue