example-1.tcl at [26aa2157b5]

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


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