all options
forky  ] [  sid  ]
[ Source: parse-args  ]

Package: tcl-parse-args (0.5.2~git20251214+g94842f5-1)

Links for tcl-parse-args

Screenshot

Debian Resources:

Download Source Package parse-args:

Maintainer:

External Resources:

Similar packages:

Advanced argument parsing for Tcl

The commands provided by the Tcl core follow a pattern of optional, named arguments (named with a leading "-" to indicate an option) in addition to positional arguments. They strongly prefer named arguments when the number of arguments and particularly optional arguments grows beyond about 3. Tcl scripts however have no access to standard argument parsing facilities to implement this pattern and have to build their named argument parsing machinery from scratch. This is slow to do in script, error prone, and creates noise in the code that distracts from the core task of the command implementation. This means that script-defined commands generally present half-baked argument handling APIs and tend to over-use positional arguments.

This package aims to address this weakness by providing a robust argument parsing mechanism to script code that can implement the full set of patterns established by the core Tcl commands, is terse and readable to specify the arguments, and is fast enough to use in any situation.

Other Packages Related to tcl-parse-args

  • depends
  • recommends
  • suggests
  • enhances

Download tcl-parse-args

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 23.8 kB83.0 kB [list of files]
arm64 23.3 kB163.0 kB [list of files]
armhf 21.5 kB161.0 kB [list of files]
i386 23.3 kB89.0 kB [list of files]
ppc64el 25.1 kB163.0 kB [list of files]
riscv64 23.2 kB71.0 kB [list of files]
s390x 25.1 kB83.0 kB [list of files]