TIP 253: Consolidate Package-Related Commands

Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Author:		Brian Schmidt <[email protected]>
Type:		Project
State:		Draft
Vote:		Pending
Created:	05-Jul-2005
Tcl-Version:	8.7


This TIP proposes enhancing the existing package command with additional subcommands to serve as the top-level command container for the existing pkg::create and pkg_mkIndex commands.


The pkg::create and pkg_mkIndex commands, while they relate to packages, are their own separate top-level commands. For consistency, clarity and also making it easier for new users to see all the related options, those commands should become options under the existing package command.


Additional package command options will be added with the following subcommand syntax:

    package create     ;pkg::create
    package mkIndex    ;pkg_mkIndex

Each represents the existing command that is commented. The arguments to each would remain what the current command takes.

The following old commands could then potentially be eventually deprecated:



This document has been placed in the public domain.