Skip to content

Output path for wishlist export error #219

Open
@damajor

Description

@damajor

There is a small error that prevent to save wishlist to specific path/name (option -o).

Here is a quick fix:

--- a/src/audible_cli/cmds/cmd_wishlist.py
+++ b/src/audible_cli/cmds/cmd_wishlist.py
@@ -41,7 +41,7 @@ def cli():
 @cli.command("export")
 @click.option(
     "--output", "-o",
-    type=click.Path(),
+    type=click.Path(path_type=pathlib.Path),
     default=pathlib.Path().cwd() / r"wishlist.{format}",
     show_default=True,
     help="output file"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions