example-1.tcl at [037c0fa432]

File client/examples/example-1.tcl artifact 4ace071797 part of check-in 037c0fa432


#! /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 \
                                                   [list teapot.activestate.com] \
                                                   {*} {*}] {
                        puts "  $extension [join $extensioninfo {, }]"
                }