diff --git a/nfdocs-parser.py b/nfdocs-parser.py index 3dee098..9e9c45d 100755 --- a/nfdocs-parser.py +++ b/nfdocs-parser.py @@ -1,8 +1,13 @@ #!/usr/bin/env python import sys +# Take path as single argument for now nextflow_path = sys.argv[1] with open(nextflow_path) as nextflow_file: + + # Split by lines nextflow_lines = nextflow_file.readlines() + + # Print the first few lines for i in range(1, 10): print(nextflow_lines[i])