|
|
@ -12,13 +12,14 @@ def main(file): |
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
|
|
|
|
if file: |
|
|
|
if file: |
|
|
|
from backupill import util |
|
|
|
import backupill |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if not os.path.isfile(file): |
|
|
|
if not os.path.isfile(file): |
|
|
|
click.echo("File '{}' not found!".format(file)) |
|
|
|
click.echo("File '{}' not found!".format(file)) |
|
|
|
exit() |
|
|
|
exit() |
|
|
|
|
|
|
|
|
|
|
|
util.generate_backup(asc_file=file) |
|
|
|
backupill.generate_backup(asc_file=file) |
|
|
|
click.echo("Done!") |
|
|
|
click.echo("Done!") |
|
|
|
else: |
|
|
|
else: |
|
|
|
click.echo("Usage: packupill -f FILENAME.asc") |
|
|
|
click.echo("Usage: packupill -f FILENAME.asc") |
|
|
|