mirror of https://github.com/mongodb/mongo
21 lines
523 B
Python
21 lines
523 B
Python
import argparse
|
|
import sys
|
|
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("--path", type=str,
|
|
help="Path to the output file that should be generated.", default="")
|
|
args = parser.parse_args()
|
|
if args.path == "":
|
|
print("Error: No path provided.")
|
|
return 1
|
|
# TODO(SERVER-90466): Implement the logic to obtain the SBOM from Silk.
|
|
with open(args.path, 'w') as fp:
|
|
_ = fp
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|