cmdargs icon indicating copy to clipboard operation
cmdargs copied to clipboard

Haskell library for command line argument processing

Results 47 cmdargs issues
Sort by recently updated
recently updated
newest added

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...

For an end-user, it's not at all obvious that "--help" will accept arguments, since this doesn't seem to be especially typical of command-line programs.    I'm therefore adding my own...

Wondering if you've given any thought to this. It seems like there's room for something awesome. I assume it would go in a separate package. I can see about tackling...

As the title says, I'd like to be able to change the value of [`defaultWrap`](https://github.com/ndmitchell/cmdargs/blob/afc3a0940c04d4a383036327e346e362c5436c96/System/Console/CmdArgs/Text.hs#L52) in my program. I know I can pass, for example, `--help=120` if I wanted to...

I simply switched compiler versions from GHC 7.6.3 to GHC 7.8.4, using the same cmdargs version, 0.10.13 and suddenly invoking `--help` on a subcommand reported a flag named `--cmddatabaseurl` instead...

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...