19 lines
351 B
Python
19 lines
351 B
Python
#!/usr/bin/env python
|
|
|
|
import argparse
|
|
#import yaml
|
|
|
|
argParser = argparse.ArgumentParser()
|
|
|
|
argParser.add_argument('yamlFiles', nargs='+')
|
|
|
|
argv = argParser.parse_args()
|
|
|
|
print("---")
|
|
for yamlFile in argv.yamlFiles:
|
|
with open(yamlFile, 'r') as inFile:
|
|
for line in inFile:
|
|
if line not in ["---\n", "...\n"]:
|
|
print(line.rstrip())
|
|
print("...")
|