example-1.tcl at [dc0f72598a]

File client/examples/example-1.tcl artifact 835098013a part of check-in dc0f72598a


#! /usr/bin/env tclsh

lappend auto_path [file join [file dirname [info script]] .. lib]

		package require teapotclient

                puts "The following extensions are available:"
                foreach {extension extensioninfo} [::teapotclient::get_extensions \
                                                   teapot.activestate.com \
                                                   {*} {*}] {
                        puts "  $extension [join $extensioninfo {, }]"
                }