example-1.tcl at [84f9cf17ad]

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


#! /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 {, }]"
                }