time-link / timelink-vscode

1 stars 0 forks source link

Feature request: Fetch kleio server token from ~/.mhk #6

Open joaquimrcarvalho opened 4 years ago

joaquimrcarvalho commented 4 years ago

To simplify setup of users that just use the translation service the kleio server token could be fetched from .mhk in the home directory in variable kleio_token if mhk-home/system/conf/mhk_system.properties does not exist.

hobbsi commented 4 years ago

Now loading kleio token from .mhk file if no system/conf/mhk_system.properties exists. The place where the .mhk file is found is considered to be the mhk-home and all paths passed to Kleio Server are relative to it.