diff options
author | crupest <crupest@outlook.com> | 2022-11-27 10:04:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-27 10:04:03 +0800 |
commit | b5b843394bd1b380e790e3a908345d1702078da4 (patch) | |
tree | 4ad03aaf836c46c7479d9454223ca2ff059035d6 /tool/aio.py | |
parent | 99012b7b504831a6f40da954ef2f69fede3a612e (diff) | |
download | crupest-b5b843394bd1b380e790e3a908345d1702078da4.tar.gz crupest-b5b843394bd1b380e790e3a908345d1702078da4.tar.bz2 crupest-b5b843394bd1b380e790e3a908345d1702078da4.zip |
Add message for backup in aio.
Diffstat (limited to 'tool/aio.py')
-rwxr-xr-x | tool/aio.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/aio.py b/tool/aio.py index daf22c6..0abf581 100755 --- a/tool/aio.py +++ b/tool/aio.py @@ -126,6 +126,7 @@ if args.action == "backup": url = download_path subprocess.run( ["sudo", "tar", "-xJf", url, "-C", project_dir], check=True) + console.print("Succeeded to restore data.", style="green") exit(0) elif not args.backup is None: if args.backup[0] is None: @@ -146,6 +147,7 @@ if args.action == "backup": ["sudo", "tar", "-cJf", path, "data", "-C", project_dir], check=True ) + console.print("Succeeded to backup data.", style="green") exit(0) else: console.print( |