Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • BackTrack 5 R1
  • Wine 1.2.3 / 1.4 RC3
  • Mozilla Firefox 10...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.3 LTS
  • Linux Kernel 3.2.6
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.1
  • Home > Linux > Programming > Libraries

    CommandTool 0.5.2

    Download button

    No screenshots available
    Downloads: 277  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    James Gardner | More programs
    MIT/X Consortium Lic... / FREE
    April 25th, 2011, 00:04 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    CommandTool description

    Tools for creating command line interfaces involving sub-commands

    CommandTool is a Python module that offers tools for creating command-line interfaces involving sub-commands.

    The code is based on the blog post at http://jimmyg.org/blog/2009/python-command-line-interface-(cli)-with-sub-commands.html but see the documentation in the doc directory of the source distribution for full information.


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Added support for extra information in command-specific help, not shown on the command index page
    · Added a bag argument and default alias look up on self so that commands behave a bit like Marbles
    · Added instance, raw_args and raw_opts to the cmd object passed to run() and deprecated the use of on_initial_convert()
    · Moved the bag argument out of run() and instead it gets passed as a service by PipeStack if needed. Can be accessed as cmd.service in your run() function.
    · Changed the command structure to be that of a list of tuples, rather than a dictionary; nesting now happens by placing a list of tuples as a value

      


    TAGS:

    command-line interfaces | Python library | command-line | interface | sub-commands



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM