cmdr-changes - Cmdr - Log of Changes
Welcome to the Cmdr project, written by Andreas Kupries.
For availability please read Cmdr - How To Get The Sources.
This document provides an overview of the changes cmdr underwent from version to version.
Fixed initialization issues in the help generator.
Fixed generated help, added the application name to the output when in a cmdr shell.
Fixed the generation of help format by-categorized, when encountering sections with sub-sections and no commands of their own.
Fixed bad method scoping in method extend of officers.
Extended officer method extend to return the created private, for immediate post-creation re-configuration.
Extended system with new help format tcl, and associated package cmdr::help::tcl. Similar to format json the help is printed as a nested data structure, just using Tcl syntax.
Extended officers and privates with method find for path lookup of sub-ordinates.
This is the first release of cmdr. The changes therefore describe the initial features of the system.
cmdr requires Tcl 8.5 or higher. Tcl 8.4 or less is not supported.
The framework provides a DSL for the declaration of a hierarchy of commands and their parameters (named options, positional arguments, hidden state), with help texts, type information, and various callbacks (command actions, parameter definition, parameter completion, type validation, command completion, etc.)
At runtime the framework provides parsing and processing of command lines per specifications written in that DSL, determining the command to run, and the mapping from command line words to its parameters.
The framework also provides shells for the interactive entry of commands and parameters, with command line completion.
Last, but not least is the automatic generation of command line help for commands and parameters, based on the information provided in a specification.
Both the package(s) and this documentation will undoubtedly contain bugs and other problems. Please report such at Cmdr Tickets.
Please also report any ideas you may have for enhancements of either package(s) and/or documentation.
arguments, command hierarchy, command line completion, command line handling, command tree, editing command line, help for command line, hierarchy of commands, interactive command shell, optional arguments, options, parameters, processing command line, tree of commands
Copyright © 2013 Andreas Kupries
Copyright © 2013 Documentation, Andreas Kupries