TIP #253: Consolidate Package-Related Commands


TIP:253
Title:Consolidate Package-Related Commands
Version:$Revision: 1.6 $
Author:Brian Schmidt <contact at schmidtsrus dot net>
State:Draft
Type:Project
Tcl-Version:8.7
Vote:Pending
Created:Tuesday, 05 July 2005

Abstract

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.

Rationale

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.

Specification

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:

    pkg::create
    pkg_mkIndex

Copyright

This document has been placed in the public domain.


Powered by Tcl[Index] [History] [Edit] [HTML Format] [Source Format] [LaTeX Format] [Text Format] [XML Format] [*roff Format (experimental)] [RTF Format (experimental)]

TIP AutoGenerator - written by Donal K. Fellows