This commit is contained in:
Bryson Shepard 2024-03-04 00:25:40 -06:00
parent 753630e651
commit f2edb49d22

11
main.py
View File

@ -5,16 +5,17 @@ import unpacker
from error import Ai1wmError
'''
check file for proper format
extract info file
gather details
extract files to new folder with permissions
obtain new info for sites database
install core files
move wp-content to correct place
import db to website
check for any issues
'''
if __name__ == '__main__':
""" Entry of the ai1wm program. """
parser = argparse.ArgumentParser(prog='ai1wm', description='Pack/Unpack All-in-One WP Migration Packages')
parser = argparse.ArgumentParser(prog='ai1wm', description='Unpack All-in-One WP Migration Packages')
parser.add_argument('source', help='source path')
parser.add_argument('target', help='target path')
args = parser.parse_args()