All Projects → carlobaldassi → Argparse.jl

carlobaldassi / Argparse.jl

Licence: other
Package for parsing command-line arguments to Julia programs.

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to Argparse.jl

Clipp
easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation
Stars: ✭ 687 (+424.43%)
Mutual labels:  command-line, argument-parser, argument-parsing, options
Argumentparser
Faster, easier, more declarative parsing of command line arguments in Objective-C/Foundation.
Stars: ✭ 251 (+91.6%)
Mutual labels:  command-line, argument-parser, argument-parsing
Caporal.js
A full-featured framework for building command line applications (cli) with node.js
Stars: ✭ 3,279 (+2403.05%)
Mutual labels:  command-line, argument-parser, argument-parsing
Argumentum
C++ command line parsing library
Stars: ✭ 92 (-29.77%)
Mutual labels:  command-line, argument-parser, options
Clap
Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.
Stars: ✭ 7,174 (+5376.34%)
Mutual labels:  command-line, argument-parser, argument-parsing
Clikt
Multiplatform command line interface parsing for Kotlin
Stars: ✭ 1,658 (+1165.65%)
Mutual labels:  command-line, argument-parser, argument-parsing
ArgMacros.jl
Fast, flexible, macro-based, Julia package for parsing command line arguments.
Stars: ✭ 29 (-77.86%)
Mutual labels:  argument-parser, argument-parsing
declarative-parser
Modern, declarative argument parser for Python 3.6+
Stars: ✭ 31 (-76.34%)
Mutual labels:  argument-parser, argument-parsing
Yaap
Yet Another (Swift) Argument Parser
Stars: ✭ 124 (-5.34%)
Mutual labels:  argument-parser, argument-parsing
AnyOption
C/C++ Command line and resource file option parsing
Stars: ✭ 83 (-36.64%)
Mutual labels:  argument-parser, argument-parsing
Picocli
Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
Stars: ✭ 3,286 (+2408.4%)
Mutual labels:  command-line, argument-parsing
Getopt Php
A PHP library for command-line argument processing
Stars: ✭ 305 (+132.82%)
Mutual labels:  command-line, argument-parser
argparse
Parser for command-line arguments
Stars: ✭ 24 (-81.68%)
Mutual labels:  argument-parser, argument-parsing
Argh
Argh! A minimalist argument handler.
Stars: ✭ 752 (+474.05%)
Mutual labels:  command-line, argument-parser
typed-argument-parser
Typed argument parser for Python
Stars: ✭ 259 (+97.71%)
Mutual labels:  argument-parser, argument-parsing
Commanddotnet
A modern framework for building modern CLI apps
Stars: ✭ 251 (+91.6%)
Mutual labels:  command-line, argument-parser
Deno Cliffy
Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Stars: ✭ 149 (+13.74%)
Mutual labels:  command-line, argument-parser
Lyra
A simple to use, composable, command line parser for C++ 11 and beyond
Stars: ✭ 238 (+81.68%)
Mutual labels:  argument-parser, argument-parsing
Structopt
Parse command line arguments by defining a struct
Stars: ✭ 323 (+146.56%)
Mutual labels:  command-line, argument-parser
Commandlineparser
Command line parser. Declarative arguments support. Rich set of argument types (switches, enums, files, etc...). Mutually exclusive arguments validations.
Stars: ✭ 104 (-20.61%)
Mutual labels:  command-line, options

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.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_tableadd_arg_table!
    • add_arg_groupadd_arg_group!
    • set_default_arg_groupset_default_arg_group!
    • import_settingsimport_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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].