Diff

Differences From Artifact [74f5cdd85f]:

To Artifact [dbdef8ce98]:


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set teapotservers [list teapot.activestate.com]

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

package require teapotclient

proc print_help {} {
	puts stderr "Usage: teapot-client.tcl get <dir> <os> <cpu> <packages...>"
	puts stderr "Usage: teapot-client.tcl list ?<os> ?<cpu>??"
}

set cmd [lindex $argv 0]
set argv [lrange $argv 1 end]

switch -- $cmd {
	"get" {







|
|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set teapotservers [list teapot.activestate.com]

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

package require teapotclient

proc print_help {} {
	puts stderr "Usage: teapot-client get <dir> <os> <cpu> <packages...>"
	puts stderr "Usage: teapot-client list ?<os> ?<cpu>??"
}

set cmd [lindex $argv 0]
set argv [lrange $argv 1 end]

switch -- $cmd {
	"get" {