first commit

This commit is contained in:
artus
2018-11-15 22:15:58 +01:00
commit 51294ccec4
6 changed files with 113 additions and 0 deletions

21
__main__.py Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/python3
# -*- coding:utf-8 -*-
"""
Photograb
"""
__version__ = "0.1"
from .grab import grab
from .sync import sync
# Grab the files
grab()
# Synchronize deleted files, pass --update-card, -u to update the card too.
sync(update_card=False)
# If you want to wipe the card, pass --wipe.
# TODO
# Clean the trash, default behaviour. If you wish to skip it, --no-clean, -n.