Neil Mitchell
Neil Mitchell
From http://code.google.com/p/ndmitchell/issues/detail?id=418 Compare ghc (not cmdargs) with Hoogle (cmdargs): ``` $ ghc -h ghc: unrecognised flags: -h ``` Usage: For basic information, try the `--help' option. ``` $ hoogle -h...
From http://code.google.com/p/ndmitchell/issues/detail?id=291: @aavogt says: cmdargs should support nested records: ``` > data A = A { optA :: X, optB :: Y } > data Y = Y { xopt...
From http://code.google.com/p/ndmitchell/issues/detail?id=457 by @simonmichael: This works, assuming mainflag is defined for both the main mode and command's mode: program command --mainflag --commandflag I'd like this to work too: program --mainflag...
From http://code.google.com/p/ndmitchell/issues/detail?id=469 There is a GUI for entering command lines. I should release it.
From http://code.google.com/p/ndmitchell/issues/detail?id=580 These types are now very commonly used in Haskell and it would be very helpful to be able to use them directly in the arguments record. I'd think...
From http://code.google.com/p/ndmitchell/issues/detail?id=345 ``` in_files = [] &= help "CVS files with data to visualise" &= args &= typ "FILES" ``` This is invalid because args and help don't mix, but...
From http://code.google.com/p/ndmitchell/issues/detail?id=404: It would be useful to add the function: ``` cmdArgsReform :: Mode (CmdArgs a) -> CmdArgs a -> [String] ``` Given a mode, and a value (presumably returned...
From http://code.google.com/p/ndmitchell/issues/detail?id=444: Often programs need command line aliases, for example in HLint --utf8 == --encoding=UTF8, and for Hoogle --all == --count=1000000. These should be supported properly, for example, I could...
From http://code.google.com/p/ndmitchell/issues/detail?id=524 In the Explicit module I should at least say what a mode/flag/argument are, currently mode is entirely undefined.
Originally from http://code.google.com/p/ndmitchell/issues/detail?id=540: `darcs --help` prints out: ``` Use 'darcs COMMAND --help' for help on a single command. ``` CmdArgs should do something similar, explaining how to find the additional...