diff --git a/nfdocs-parser.py b/nfdocs-parser.py index a5f56d1..dea5b7c 100755 --- a/nfdocs-parser.py +++ b/nfdocs-parser.py @@ -1,5 +1,6 @@ #!/usr/bin/env python import sys -nextflow_file = sys.argv[1] -print(nextflow_file) +nextflow_path = sys.argv[1] +with open(nextflow_path) as nextflow_file: + print(nextflow_file)