This commit is contained in:
parent
879e62b4d3
commit
0c2511a5f8
4 changed files with 5 additions and 5 deletions
|
@ -107,7 +107,7 @@ verbosity: [mutually_exclusive]
|
||||||
-p, --path PATH Download path [default: downloads]
|
-p, --path PATH Download path [default: downloads]
|
||||||
-l, --language TEXT Manga language [default: en]
|
-l, --language TEXT Manga language [default: en]
|
||||||
--list List all available chapters
|
--list List all available chapters
|
||||||
--format [cbz|cbr|zip|pdf|] Archive format to create. An empty string means dont archive the folder [default: cbz]
|
--format [cbz|cbr|zip|pdf|] Archive format to create. An empty string means don't archive the folder [default: cbz]
|
||||||
--name-format TEXT Naming format to use when saving chapters. See docs for more infos [default: {default}]
|
--name-format TEXT Naming format to use when saving chapters. See docs for more infos [default: {default}]
|
||||||
--name-format-none TEXT String to use when the variable of the custom name format is empty
|
--name-format-none TEXT String to use when the variable of the custom name format is empty
|
||||||
--forcevol Force naming of volumes. For mangas where chapters reset each volume
|
--forcevol Force naming of volumes. For mangas where chapters reset each volume
|
||||||
|
|
|
@ -105,7 +105,7 @@ verbosity: [mutually_exclusive]
|
||||||
-p, --path PATH Download path [default: downloads]
|
-p, --path PATH Download path [default: downloads]
|
||||||
-l, --language TEXT Manga language [default: en]
|
-l, --language TEXT Manga language [default: en]
|
||||||
--list List all available chapters
|
--list List all available chapters
|
||||||
--format [cbz|cbr|zip|pdf|] Archive format to create. An empty string means dont archive the folder [default: cbz]
|
--format [cbz|cbr|zip|pdf|] Archive format to create. An empty string means don't archive the folder [default: cbz]
|
||||||
--name-format TEXT Naming format to use when saving chapters. See docs for more infos [default: {default}]
|
--name-format TEXT Naming format to use when saving chapters. See docs for more infos [default: {default}]
|
||||||
--name-format-none TEXT String to use when the variable of the custom name format is empty
|
--name-format-none TEXT String to use when the variable of the custom name format is empty
|
||||||
--forcevol Force naming of volumes. For mangas where chapters reset each volume
|
--forcevol Force naming of volumes. For mangas where chapters reset each volume
|
||||||
|
|
|
@ -133,7 +133,7 @@ def readin_list(_ctx, _param, value) -> list:
|
||||||
default="cbz",
|
default="cbz",
|
||||||
required=False,
|
required=False,
|
||||||
show_default=True,
|
show_default=True,
|
||||||
help="Archive format to create. An empty string means dont archive the folder",
|
help="Archive format to create. An empty string means don't archive the folder",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--name-format",
|
"--name-format",
|
||||||
|
|
|
@ -89,8 +89,8 @@ def test_metadata_validation_values2():
|
||||||
metadata = {
|
metadata = {
|
||||||
"BlackAndWhite": "No",
|
"BlackAndWhite": "No",
|
||||||
"Manga": "YesAndRightToLeft",
|
"Manga": "YesAndRightToLeft",
|
||||||
"AgeRating": "12+",
|
"AgeRating": "12+", # invalid
|
||||||
"CommunityRating": 10,
|
"CommunityRating": 10, # invalid
|
||||||
}
|
}
|
||||||
|
|
||||||
valid_metadata = validate_metadata(metadata)
|
valid_metadata = validate_metadata(metadata)
|
||||||
|
|
Loading…
Reference in a new issue