adambrewster / ArgParse.jl

Package for parsing command-line arguments to Julia programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArgParse.jl Overview

ArgParse.jl is a package for parsing command-line arguments to Julia programs.

The documentation can be found at this link, or in the doc directory.

See also the examples directory.

Build Status Coverage Status Build status

Changes in release 0.4.0

New features

  • Added support for vectors of METAVAR names (see #33)

Other changes

  • Support for Julia v0.3 was dropped.

Changes in release 0.3.1

New available settings

  • fromfile_prexif_chars (see #27)
  • preformatted_desciption/preformatted_epilog (see #28)

Changes in release 0.3.0

Breaking changes

Upgrading from versions 0.2.X to 0.3.X, the following API changes were made, which may break existing code:

  • Option arguments are no longer evaluated by default. This is for security reasons. Evaluation can be forced on a per-option basis with the eval_arg=true setting (although this is discuraged).
  • The syntax of the add_arg_table function has changed, it now takes a Dict object instead of an @options opbject, since the dependency on the Options.jl module was removed. (The @add_arg_table macro is unchanged though.)

Other changes

  • Documented that overloading the function ArgParse.parse_item can be used to instruct ArgParse on how to parse custom types. Parse error reporting was also improved
  • Removed dependecy on the Options.jl module
  • Enabled precompilation on Julia 0.4

About

Package for parsing command-line arguments to Julia programs.

License:Other


Languages

Language:Julia 100.0%