grisu / gricli

Grisu commandline client
7 stars 2 forks source link

support for environment variables #136

Closed yuriyh closed 13 years ago

yuriyh commented 13 years ago

related to this https://github.com/grisu/grisu/issues/17

yuriyh commented 13 years ago

ok, impemented as new global, environment. you can:

add environment var value

and

unset environment

any attempt to use 'set environment' will result in error message. If anyone has other ideas, let me know.

makkus commented 13 years ago

Hm. Maybe we should have the file and env-variable thing the same, since it's kinda similar?

I.e. add file file add environment var value

attach environment var value would probably work too, but looks kind of clumsy...

makkus commented 13 years ago

Should we call it "env" instead of "environment"? "env" also somewhat suggests "environment variable" whereas "environment" doesn't. "environment_variable" is too long...

or "env_var"

Important because of renaming of globals/Grisu constants...

yuriyh commented 13 years ago

Yeah, "env" is better.