insanum/gcalcli — pull request #3 by grahamking (2012-05-12 03:20:57+00:00)
Title: Allow shell commands in config file

I like to encrypt my password in the config file, so it looks like this:

[gcalcli]
user: graham@example.com
pw: `gpg --decrypt ~/.googlepw.gpg`

This pull request looks for ` as the first character of a config value, and if found runs it through subprocess.check_output.

Original ticket: http://code.google.com/p/gcalcli/issues/detail?id=80