spesnova / iruka

A lightweight container platform
MIT License
3 stars 0 forks source link

Set config vars including special chars #30

Closed dtan4 closed 9 years ago

dtan4 commented 9 years ago

Close #24

WHAT

Set config vars including special chars, like , and = .

$ ./iruka set FOO=hoge,fuga BAR=piyo=quz
BAR:    piyo=quz
FOO:    hoge,fuga

This PR changes the form of arguments of set and unset. Currently multiple variables are separated by , (comma), however in this PR they are separated by (space). This is the same form of heroku/hk. It is because parsing comma-separated arguments (e.g. FOO="hoge,fuga",BAR="piyo") properly is too difficult.

spesnova commented 9 years ago

LGTM