packages feed

structured-cli 0.9.1.0 → 0.9.2.0

raw patch · 2 files changed

+2/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/System/Console/StructuredCLI.hs view
@@ -257,7 +257,7 @@         else             lift $ modify $ \state -> state { nodes = nodes0,    -- parse failed or no action                                              labels = labels0 } -- restore nodes to previous state-    Just [] -> do+    Just _ -> do         Node{..} <- lift getCurrentCommand         case action of           Nothing -> return ()@@ -269,8 +269,6 @@                     depth' = max 1 $ depth0 - popDepth -- there must always be at least a root node                     toPop  = depth - depth'                 void $ replicateM toPop popCommand-    Just _ -> do-        return ()  parse :: (MonadIO m) => String -> MaybeT (InputT (CState m)) [Node m] parse ""    = currentBranches''
structured-cli.cabal view
@@ -1,5 +1,5 @@ name:                structured-cli-version:             0.9.1.0+version:             0.9.2.0 synopsis:            Application library for building interactive console CLIs description:         This module provides the tools to build a complete "structured" CLI application, similar to those found in systems like Cisco IOS or console configuration utilities etc. It aims to be easy for implementors to use. homepage:            https://github.com/erickg/structured-cli#readme