pydoto-cli

Simple ToDo-like application, that just works. Add any tasks without closing your terminal.
git clone https://git.nfu.su/pydoto-cli.git
Log | Files | Refs | README

config.py (311B)


      1 from pathlib import Path
      2 
      3 
      4 class Config:
      5     CONFIG_NAME = "pydoto.conf"
      6     DB_NAME = "pydoto.json"
      7 
      8     HOME_FOLDER_PATH = Path.home()
      9     CONFIG_PATH = HOME_FOLDER_PATH / ".config" / "pydoto" / CONFIG_NAME
     10     DB_PATH = HOME_FOLDER_PATH / ".config" / "pydoto" / DB_NAME
     11 
     12     def __init__(self):
     13         pass