github: add config templates + docs

- ghexport: use export_path (export_dir is still supported)
This commit is contained in:
Dima Gerasimov 2020-06-01 23:33:34 +01:00
parent ca39187c63
commit a267aeec5b
6 changed files with 118 additions and 14 deletions

View file

@ -18,9 +18,8 @@ except ImportError as e:
from dataclasses import dataclass
from ..core.common import Paths
from ..core import Paths
# TODO perhaps rename to twitter_archive? dunno
@dataclass
class twitter_archive(user_config):
export_path: Paths # path[s]/glob to the twitter archive takeout

View file

@ -14,6 +14,7 @@ from my.config import twint as user_config
class twint(user_config):
export_path: Paths # path[s]/glob to the twint Sqlite database
####
from ..core.cfg import make_config
config = make_config(twint)