22 lines
450 B
Python
22 lines
450 B
Python
import sys
|
|
import shutil as cmd
|
|
|
|
|
|
base_store_path = r"E:\baseline_core\milestone.xast"
|
|
current_store_path = r"E:\storyline.xast"
|
|
|
|
|
|
def milestone_new(f_from: str, f_to: str) -> str:
|
|
return cmd.copy2(f_from, f_to)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
print(sys.argv)
|
|
if len(sys.argv) <= 1:
|
|
exit(0)
|
|
|
|
# milestone:new
|
|
if "".join(sys.argv[1:]) == "milestone:new":
|
|
milestone_new(current_store_path, base_store_path)
|
|
pass
|