first commit
This commit is contained in:
21
__main__.py
Normal file
21
__main__.py
Normal 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.
|
||||
|
||||
Reference in New Issue
Block a user