structured-cli 2.4.0.0 → 2.4.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
src/System/Console/StructuredCLI.hs view
@@ -172,7 +172,7 @@ -- a custom parser, which should actually be rarer than not. data ParseResult a = Done {- -- | Output string to be fed to the command action handler+ -- | Output (parsed) value to be fed to the command action handler getOutput :: a, -- | Part of the string matched during parsing of a command getDoneMatched :: String,@@ -361,7 +361,7 @@ custom label hint labelParser enable $ const action -- | Build a command node that takes one parameter (delimited by space). The parsed parameter--- is fed to the validator monadic function (in the "user" monad) and the resulting string+-- is fed to the validator monadic function (in the "user" monad) and the resulting value -- if any is fed in turn as an argument to the handler action (also in the "user" monad). param :: (Monad m) => String -- ^ Command keyword -> String -- ^ Help text for this command (including argument description)
structured-cli.cabal view
@@ -1,5 +1,5 @@ name: structured-cli-version: 2.4.0.0+version: 2.4.0.1 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://gitlab.com/codemonkeylabs/structured-cli#readme