Skip to content

Commit

Permalink
Add file path as argument to argparser
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhoerstr committed Sep 19, 2023
1 parent 5258a4b commit 5e7fc59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pfdl_scheduler/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def main():
parser = argparse.ArgumentParser(
description="A program that shall be executed in the VS Code extension which has a string containing a PFDL program as input as well as the name of the corresponding file."
)
parser.add_argument("file_path", type=str, help="The requesters filepath.")
parser.add_argument("pfdl_string", type=str, help="The content of a given PFDL file as string.")
parser.add_argument("file_name", type=str, help="The name of the given PFDL file.")
args = parser.parse_args()
Expand Down

0 comments on commit 5e7fc59

Please sign in to comment.