Skip to content

Commit 3fdc25e

Browse files
Refactor Comic/Archive (#129)
- Refactor comic/archive implementation - Archive tests - Refine cli commands - Deprecate `import` command in favour of `process` - Add `.cbt` and `.cb7` as output formats --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f850a85 commit 3fdc25e

48 files changed

Lines changed: 1994 additions & 1372 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/rich-codex.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
paths:
66
- README.md
7-
- perdoo/__main__.py
87
- perdoo/cli/**
98
workflow_dispatch:
109

@@ -26,4 +25,4 @@ jobs:
2625
uses: ewels/rich-codex@v1
2726
with:
2827
commit_changes: true
29-
clean_img_paths: true
28+
clean_img_paths: docs/img/*.svg

README.md

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,28 @@ Unlike other tagging tools, Perdoo employs a manual approach when metadata files
2626

2727
## Usage
2828

29-
<details><summary>Perdoo Commands</summary>
29+
<details><summary>perdoo Commands</summary>
3030

3131
<!-- RICH-CODEX hide_command: true -->
32-
![`uv run Perdoo --help`](docs/img/perdoo-commands.svg)
32+
![`uv run perdoo`](docs/img/perdoo-commands.svg)
3333

3434
</details>
35-
<details><summary>Perdoo import</summary>
35+
<details><summary>perdoo process</summary>
3636

3737
<!-- RICH-CODEX hide_command: true -->
38-
![`uv run Perdoo import --help`](docs/img/perdoo-import.svg)
38+
![`uv run perdoo process --help`](docs/img/perdoo-process.svg)
3939

4040
</details>
41-
42-
### Perdoo archive Commands
43-
44-
<details><summary>Perdoo archive view</summary>
45-
46-
<!-- RICH-CODEX hide_command: true -->
47-
![`uv run Perdoo archive view --help`](docs/img/perdoo-archive-view.svg)
48-
49-
</details>
50-
51-
### Perdoo settings Commands
52-
53-
<details><summary>Perdoo settings view</summary>
41+
<details><summary>perdoo archive</summary>
5442

5543
<!-- RICH-CODEX hide_command: true -->
56-
![`uv run Perdoo settings view --help`](docs/img/perdoo-settings-view.svg)
44+
![`uv run perdoo archive --help`](docs/img/perdoo-archive.svg)
5745

5846
</details>
59-
<details><summary>Perdoo settings locate</summary>
47+
<details><summary>perdoo settings</summary>
6048

6149
<!-- RICH-CODEX hide_command: true -->
62-
![`uv run Perdoo settings locate --help`](docs/img/perdoo-settings-locate.svg)
50+
![`uv run perdoo settings --help`](docs/img/perdoo-settings.svg)
6351

6452
</details>
6553

@@ -75,6 +63,8 @@ Unlike other tagging tools, Perdoo employs a manual approach when metadata files
7563
### Output Extensions
7664

7765
- .cbz
66+
- .cbt
67+
- .cb7 _(Requires installing `cb7` dependencies: `pipx install perdoo[cb7]`)_
7868

7969
### Metadata Files
8070

@@ -187,6 +177,7 @@ password = "<Metron Password>"
187177
- `output.format`
188178
The output file format for the comic archives.
189179
Defaults to `cbz`.
180+
Options are `cbz`, `cbt` or `cb7`
190181

191182
- `output.comic_info.create`
192183
Whether to create a ComicInfo.xml file in the output archive.
@@ -214,7 +205,8 @@ password = "<Metron Password>"
214205
The order in which the services will be used for metadata retrieval.
215206
Metadata will be fetched from the first service that returns a result.
216207
Don't include the service name in the list if you don't want to use it.
217-
Defaults to `["Metron", "Comicvine"]`, options are `Metron` and `Comicvine`.
208+
Defaults to `["Metron", "Comicvine"]`.
209+
Options are `Metron` or `Comicvine`.
218210

219211
## Socials
220212

docs/img/perdoo-archive-view.svg

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)