utkuufuk / budget-cli

Manage your Google budget spreadsheets from terminal
https://utkuufuk.com/2018/11/10/budget-cli
MIT License
34 stars 6 forks source link

Find a way to read token.json without temporarily copying it into the current directory #2

Closed utkuufuk closed 5 years ago

utkuufuk commented 5 years ago

file.Storage() function does not accept relative/absolute paths other than the current directory. Must find a way to read token.json from different directory.

utkuufuk commented 5 years ago

Solved by 02affb7c37269a78189aa7ff0c57e6681086fe0f

Working directory is now temporarily changed to read token.json and authorize.