[ Home | Main Table Of Contents | Table Of Contents | Keyword Index ]

cmdr::util(n) 1.1 doc "Cmdr, a framework for command line parsing and dispatch"


cmdr::util - Cmdr - (Internal) General Utilities

Table Of Contents



Welcome to the Cmdr project, written by Andreas Kupries.

For availability please read Cmdr - How To Get The Sources.

This internal package provides a few utility commands.


::cmdr::util padr list

When invoked this command pads all elements of the specified list at their end with space (ASCII 32 decimal) characters to make them all the same length, the length of the longest element in the list.

The modified list is returned as the result of the command.

list list

A list of strings to normalize in length by appending space characters as needed.

::cmdr::util dictsort dict

When invoked this command sorts the provided dictionary by its keys.

The modified dictionary is returned as the result of the command.

dictionary dict

The dictionary to sort.

Bugs, Ideas, Feedback

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