aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/append_file.py
blob: 1413cec3523b5829d7df775b29b2d5a1d0655127 (plain) (blame)
1
2
3
4
5
6
7
8
9
import sys


if __name__ == "__main__":

    file_path = sys.argv[1]
    with open(file_path, "a") as f:
        for text in sys.argv[2:]:
            f.write('{}\n'.format(text))