-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
hrothwell edited this page Mar 26, 2024
·
4 revisions
- default first flag is
-a
for anime, specify-m
instead for manga -
mal -h
- show the help menu -
mal (-a/-m) random -u hone_the_rat -l plan_to_watch
- select a random anime/manga from hone_the_rat's plan to watch list -
mal (-a/-m) search -q "tokyo ghoul"
- search for anime/manga with the keywords "tokyo ghoul" -
mal login
- authorize the application via MAL to gain extra commands. ideally only needed once but potentially needed to reauthorize if oauth refresh token expires. specifying-a/-m
does nothing different -
mal suggest -l 50
- requires login. suggest up to 100 anime (MAL seems to return the same list always, not a CLI issue). ONLY FOR ANIME -
mal refresh
- requires login. manually refresh your oauth tokens. Refreshing should also manually happen anytime MAL returns a 401 for a call using oauth. specifying-a/-m
does nothing different
does not include "mal" prefix
- gradle:
.\gradlew run --args="command"
- built jar
.\gradlew clean build
java -jar build\libs\mal-cli-1.0.SNAPSHOT-all.jar command
- scripts:
.\gradlew clean build
-
build\install\mal-cli\bin\mal-cli command
orbuild\install\mal-cli\bin\mal-cli.bat command