Tyler Goodlet
534ba0b698
Add json highlighting; make debug msgs white
2018-01-26 11:31:40 -05:00
Tyler Goodlet
9e8ed392d4
Add token refresher task
2018-01-25 21:53:55 -05:00
Tyler Goodlet
4e1c64a7fb
Import broker backend by name
2018-01-25 21:08:49 -05:00
Tyler Goodlet
c6cff5a432
Swap debug-garbage log colours
2018-01-25 20:59:56 -05:00
Tyler Goodlet
5c4996873a
Start using click for cli
2018-01-25 20:56:57 -05:00
Tyler Goodlet
1b0269e51a
Drop `Client.from_config()` factory - more cleanups
2018-01-25 20:56:57 -05:00
Tyler Goodlet
e45cdf92f0
Log entire access config on exit
2018-01-25 20:56:57 -05:00
Tyler Goodlet
c7258f3fb2
Build bold palette automatically
2018-01-22 22:05:42 -05:00
Tyler Goodlet
570d879146
Save tokens locally for use across runs
...
Store tokens in a local config file avoiding any refresh delay
unless necessary when the current access token expires.
Summary:
- move draft main routine into the `brokers` package mod
- start an api wrapper type
- always write the current access tokens to the config on teardown
2018-01-22 22:05:42 -05:00
Tyler Goodlet
e312fb6525
Add config for saving access creds between runs
2018-01-22 22:05:42 -05:00
Tyler Goodlet
9745e16cf2
Drop userdata; use a dict
2018-01-22 22:05:42 -05:00
Tyler Goodlet
5a6b7510f8
Initial user account access using trio + asks
2018-01-22 22:05:42 -05:00
Tyler Goodlet
15fe580326
Super hot hipster logging
2018-01-22 22:05:42 -05:00