Akida31 / anki-typst

Create anki cards from typst.
2 stars 0 forks source link

`anki-typst create-all-decks -p main.typ` returns error #1

Closed qawsedrftgzh closed 1 day ago

qawsedrftgzh commented 4 days ago
anki-typst create-all-decks -p main.typ
error: unexpected argument '--path' found

Usage: anki-typst create-all-decks

For more information, try '--help'.
Akida31 commented 1 day ago

I think, the instructions in the README were wrong, it should be anki-typst -p main.typ create-all-decks. I don't know if clap has a convenient way to allow the arguments after the subcommand as well. Thanks for reporting!

qawsedrftgzh commented 1 day ago

Thank you, I works now, although I still get a bug, I will open another Issue for that