feat: Add initial main script
This commit is contained in:
16
main.py
Normal file
16
main.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
import os, logging
|
||||||
|
DEBUG = os.environ.get('DEBUG')
|
||||||
|
logging.basicConfig(
|
||||||
|
format='[%(asctime)s] %(levelname)s %(module)s/%(funcName)s - %(message)s',
|
||||||
|
level=logging.DEBUG if DEBUG else logging.INFO)
|
||||||
|
|
||||||
|
NOTES_DIR = '/home/tanner/notes-git/notes'
|
||||||
|
|
||||||
|
def collect_daily_notes():
|
||||||
|
pass
|
||||||
|
|
||||||
|
def main():
|
||||||
|
collect_daily_notes()
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
Reference in New Issue
Block a user