npbackup/bin/npbackup-cli
2023-12-11 00:37:34 +01:00

17 lines
348 B
Python

#! /usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of npbackup, and is really just a binary shortcut to launch npbackup.__main__
import os
import sys
sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "..")))
from npbackup.__main__ import main
del sys.path[0]
if __name__ == "__main__":
main()