grisu / gricli

Grisu commandline client
7 stars 2 forks source link

destroy proxy / user clearCache syntax #99

Closed sina-masoud-ansari closed 12 years ago

sina-masoud-ansari commented 13 years ago

Just wondering if destroy proxy can be an extension of the clear command?

clear proxy

and user clearCache can be

clear cache

or

clear userCache

such that clear would be clear

yuriyh commented 13 years ago

i think it will eventually be:

set clearCache true

(i.e. will make it global)

makkus commented 13 years ago

Hm. I like Sinas idea better, it's connected to the session and not the user/job environment...

yuriyh commented 13 years ago

no, but this way you can change it back, if you accidently clear cache.

makkus commented 13 years ago

is that so bad? Only problem is next login lasts a few seconds longer...

yuriyh commented 13 years ago

One more reason for annoyance :) I am not that set on doing it my way, but "destroy proxy" takes effect immediately and cannot be undone. "clear userCache" only takes effect after logout, can be undone and implemented as variable on server side. Doing it as a variable on client side just makes sense.

such that clear would be clear

have a look at #103

But again, I don't consider it a major issue and can implement it as Sina suggested.

makkus commented 13 years ago

I'm not too fuzzed either, to be honest. Someone! Decide!

makkus commented 12 years ago

Not necessary anymore, since we have now close/renew session

sina-masoud-ansari commented 12 years ago

@smas036 to check usage and understanding with users