tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronnie Brunner <ron...@netcetera.ch>
Subject Re: make upload & var operate the same way
Date Fri, 19 Jul 2002 07:31:11 GMT
It's always better to have consistent (similar) behavior of different
commands, vene if you talk about rivet and not websh ;-)

> The upload command works like this:
> 
>   upload get XYZ
>                  channel        # returns channel
>                  save (name)    # returns name?
>                  data           # returns data
> 
>   with the third one reporting an error if this hasn't been enabled, or
>   the first two if it has.
> 
>   upload info XYZ
> 
>                   exists
>                   size
>                   type
>                   filename
> 
>   upload names
> 
>   gets all the upload names.
> 
> The var command works like this:
> 
>    var get foo
>    var list foo
>    var names
>    var number
>    var all
> 
> Any reason not to make them work more alike?
> 

------------------------------------------------------------------------
Ronnie Brunner                               ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich     phone +41 1 247 79 79 fax +41 1 247 70 75

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Mime
View raw message