Skip to content

Commit

Permalink
fix: at this point, I am trying to find a way. Not sure if this will …
Browse files Browse the repository at this point in the history
…work.
  • Loading branch information
HYP3R00T committed Nov 25, 2024
1 parent 1993f75 commit c42a632
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion omnishare/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


@app.command()
def main(
def executor(
file: Annotated[str, typer.Argument(help="Provide markdown file")] = None,
add_token: Annotated[bool, typer.Option(help="Add API token")] = False,
config: Annotated[bool, typer.Option(help="Configure the tool")] = False,
Expand Down Expand Up @@ -57,5 +57,9 @@ def main(
raise typer.BadParameter("No file provided")


def main():
app()


if __name__ == "__main__":
app()

0 comments on commit c42a632

Please sign in to comment.