Skip to content

libanime/maco

Repository files navigation

maco

coverage License: MIT License: pub

Readme Card

An anime downloading cli based on libanime.


Getting Started 🚀

If the CLI application is available on pub, activate globally via:

dart pub global activate maco

Or locally via:

dart pub global activate --source=path <path to this package>

Also you can use portable version in Releases page.

Usage

# Parse direct mp4 url for kodik player and download.
$ maco kodik -u //kodik.info/seria/428055/cf7b8847a36a6904743111e46c2b77d1/720p -d

# Parse direct mp4 url for sibnet player.
$ maco sibnet -u https://video.sibnet.ru/shell.php?videoid=2235917

# Show CLI version
$ maco --version

# Show usage help
$ maco --help

Running Tests with coverage 🧪

To run all unit tests use the following command:

$ dart pub global activate coverage 1.2.0
$ dart test --coverage=coverage
$ dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use lcov .

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html