Loading src/coliverter/app.py +22 −2 Original line number Diff line number Diff line from pathlib import Path from typing import Annotated import typer app = typer.Typer() @app.command() def main() -> None: print("Hello World!") def main( markdown_path: Annotated[ Path | None, typer.Argument( help="Path to the input Markdown file. If None, read Markdown from STDIN." ), ] = None, output_path: Annotated[ Path | None, typer.Argument( help="Path to the output file. If None, write output to STDOUT." ), ] = None, ) -> None: """ Convert Markdown files into other formats, using the organization identity of Fachschaft Computerlinguistik. """ # TODO Implement this print(markdown_path, output_path) Loading
src/coliverter/app.py +22 −2 Original line number Diff line number Diff line from pathlib import Path from typing import Annotated import typer app = typer.Typer() @app.command() def main() -> None: print("Hello World!") def main( markdown_path: Annotated[ Path | None, typer.Argument( help="Path to the input Markdown file. If None, read Markdown from STDIN." ), ] = None, output_path: Annotated[ Path | None, typer.Argument( help="Path to the output file. If None, write output to STDOUT." ), ] = None, ) -> None: """ Convert Markdown files into other formats, using the organization identity of Fachschaft Computerlinguistik. """ # TODO Implement this print(markdown_path, output_path)