Skip to content

Inline mode

Vadim edited this page Oct 31, 2022 · 14 revisions

Inline mode is intended to be used inside various scripts.

Usage example

Command Examples

Search for "death note" manga using Manganato source and print results to stdout in json format

mangal inline -S "Manganato" --query "death note" --json

Download the first 3 chapters of "Bleach" from Mangapill in CBZ format (indices start from 0 for selectors)

mangal inline -S Mangapill --query "bleach" --manga first --chapters 0-2 --download --format cbz

Use different anilist manga (id 97852) for all mangas with the title "Komi-San Wa Komyushou Desu"

mangal inline anilist set --name "Komi-San Wa Komyushou Desu" --id 97852

Search for chainsaw man on anilist

mangal inline anilist search --name "Chainsaw Man"

JSON Output Schemas

You can generate JSON Schema by running

mangal inline schema

And for anilist search

mangal inline schema --anilist

You can view a sample JSONs based on those schemas at json-schema-faker.js.org

Clone this wiki locally