devel/hs-cmdargs - The NetBSD Packages Collection

Command line argument processing

This library provides an easy way to define command line parsers.
Most users will want to use the System.Console.CmdArgs.Implicit module,
whose documentation contains an example.

* System.Console.CmdArgs.Explicit provides a way to write command line parsers
  for both single mode programs (most programs) and multiple mode programs
  (e.g. darcs or cabal). Parsers are defined by constructing a data structure.

* System.Console.CmdArgs.Implicit provides a way to concisely define
  command line parsers, up to three times shorter than getopt.
  These parsers are translated into the Explicit data type.

* System.Console.CmdArgs.GetOpt provides a wrapper allowing compatiblity
  with existing getopt parsers, mapping to the Explicit data type.

For a general reference on what command line flags are commonly used,

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc98 lang/ghc98

Binary packages

NetBSD 10.0aarch64hs-cmdargs-0.10.22nb2.tgz
NetBSD 10.0aarch64hs-cmdargs-0.10.22nb1.tgz
NetBSD 10.0aarch64hs-cmdargs-0.10.22nb1.tgz
NetBSD 10.0x86_64hs-cmdargs-0.10.22nb2.tgz
NetBSD 10.0x86_64hs-cmdargs-0.10.22nb1.tgz
NetBSD 10.0x86_64hs-cmdargs-0.10.22nb1.tgz
NetBSD 9.0aarch64hs-cmdargs-0.10.22nb2.tgz
NetBSD 9.0aarch64hs-cmdargs-0.10.22nb1.tgz
NetBSD 9.0aarch64hs-cmdargs-0.10.22nb1.tgz
NetBSD 9.0x86_64hs-cmdargs-0.10.22nb2.tgz
NetBSD 9.0x86_64hs-cmdargs-0.10.22nb1.tgz
NetBSD 9.0x86_64hs-cmdargs-0.10.22nb1.tgz
NetBSD 9.3x86_64hs-cmdargs-0.10.22nb2.tgz
NetBSD 9.3x86_64hs-cmdargs-0.10.22nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.