• Stars
    star
    216
  • Rank 176,966 (Top 4 %)
  • Language
    Julia
  • License
    Other
  • Created over 11 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Package for parsing command-line arguments to Julia programs.

ArgParse.jl

DOCS CI CODECOV

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

Installation and usage

To install the module, use Julia's package manager: start pkg mode by pressing ] and then enter:

(v1.5) pkg> add ArgParse

The module can then be loaded like any other Julia module:

julia> using ArgParse

Documentation

Changes in release 1.1.5

  • Fix ambiguity with julia 1.11 new wrap function (see [#128][PR128])
  • Throw a new ArgParseSettingError for all settings-related errors
  • Fixed some tests

Changes in release 1.1.4

  • Fix in @project_version macro (see [#107][PR107])

Changes in release 1.1.3

  • Added a @project_version macro (see [#106][PR106])

Changes in release 1.1.2

  • Faster startup time by disabling optimizations/inference (see #104)

Changes in release 1.1.1

  • Fixed the case when using symbol keys, commands are not required, no command is provided

Changes in release 1.1.0

  • Try using the constructor for types that don't define a convert method from AbstractString

Changes in release 1.0.1

  • Small fixes in docs

Changes in release 1.0.0

  • Drop support for Julia versions v0.6/v0.7
  • Renamed a few functions and macros (old versions can be used but produce deprecation warnings):
    • @add_arg_table → @add_arg_table!
    • add_arg_table → add_arg_table!
    • add_arg_group → add_arg_group!
    • set_default_arg_group → set_default_arg_group!
    • import_settings → import_settings!. The signature of this function has also changed: args_only is now a keyword argument
  • Parsing does not exit julia by default when in interactive mode now
  • Added mutually-exclusive and/or required argument groups
  • Added command aliases

Changes in release 0.6.2

  • Fix a remaining compatibility issue (@warn)

Changes in release 0.6.1

  • Testing infrastructure update, tiny docs fixes

Changes in release 0.6.0

  • Added support for Julia v0.7, dropped support for Julia v0.5.
  • Added exit_after_help setting to control whether to exit julia after help/version info is displayed (which is still the defult) or to just abort the parsing and return nothing instead.

Changes in release 0.5.0

  • Added support for Julia v0.6, dropped support for Julia v0.4.
  • The default output type is now Dict{String,Any}, as stated in the docs, rather than Dict{AbstractString,Any}.
  • Added docstrings, moved documentation to Documenter.jl

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

More Repositories

1

gimp-lqr-plugin

LiquidRescale plug-in for seam carving in GIMP
C
65
star
2

liblqr

Liquid Rescale library
Shell
43
star
3

GaussDCA.jl

Multivariate Gaussian Direct Coupling Analysis for residue contact prediction in protein families - Julia module
Julia
19
star
4

RRRMC.jl

Reduced-Rejection-Rate Monte Carlo for Ising spin models
Julia
17
star
5

TextWrap.jl

Julia package for wrapping text into paragraphs.
Julia
16
star
6

ExtractMacro.jl

Provides a convenience Julia macro to extract fields from composite types
Julia
15
star
7

FastaIO.jl

Utilities to read/write FASTA format files in Julia
Julia
13
star
8

KMeansPNNSmoothing.jl

Julia
8
star
9

bash_optparse

An advanced command line parser for bash intended to be a replacement for getopt / getopts, loosely inspired to python's optparse
Python
8
star
10

BinaryCommitteeMachineFBP.jl

Focusing Belief Propagation on Commitee machines with binary weights
Julia
6
star
11

ConqueTerm

mirror of ConqueTerm repository from http://code.google.com/p/conque/
Python
5
star
12

BinaryCommitteeMachineRSGD.jl

Replicated Stochastic Gradient Descent on Commitee machines with binary weights
Julia
5
star
13

LyX_PNAS

LyX template and layout for PNAS, derived from the PNAS Overleaf template
TeX
5
star
14

vim-colorschemedegrade

Automatically converts gvim 256-color schemes for use in vim -- this is just a mirror of some code I found online, see the link below
Vim Script
5
star
15

mvector

multi-vector C++ template class
C++
4
star
16

RecombinatorKMeans.jl

implementation of recombinator-k-means
Julia
3
star
17

DCAUtils.jl

Utilities for Direct Coupling Analysis in Julia
Julia
3
star
18

vim-sessionmanagment

An automatisation layer on top of ViM session managment
Vim Script
2
star
19

vim-smartcomment

ViM plugin for quick and smart code commenting/uncommenting
Vim Script
2
star
20

FastaRead.jl

[DEPRECATED PACKAGE. USE FastaIO INSTEAD]
Python
2
star
21

GaussDCA.matlab

Multivariate Gaussian Direct Coupling Analysis for residue contact prediction in protein families - MATLAB version
C
2
star
22

vimrecover

bash script to deal with vim swap files
Shell
1
star
23

julia-clp

Clp wrapper for Julia
Julia
1
star