Announcing the initial release of cmdargs (v1.0.9).
"cmdargs" is a small Tcl extension that provides command-line style named arguments for user-defined procedures. The augmented proc interface resembles Tcl commands like glob, regexp or Tk commands. Procs with many arguments (and default values) become
much easier to handle.
In addition, cmdargs offers a number of productivity features:
* The extension is simple to use: only one line of code needs to be added to the target proc.
* Command-line options are typed (as boolean, numeric, string, or enumerated). * Typed input reduces errors and simplifies validating input.
* Flexible: unrestricted positional arguments before/after named arguments.
* Built-in filters can be applied to selected string and numeric inputs.
* Excellent performance--runs ~6-8x faster vs. a previous pure Tcl solution.
* Tcl-focused configuration system adaptable to other projects.
Project archives include Linux and Windows binaries.
Project website:
https://thinairarts.com/ossprojects.html
Fossil repo:
https://thinairarts.com/fossil/cmdargs
Download:
https://thinairarts.com/fossil/cmdargs/download
Documentation:
https://thinairarts.com/doc/cmdargs-doc.html
For more info see project documentation.
jrapdx
Mon 10 Apr 2023 14:11:16 -07:00
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)