-
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
-afor anime, specify-minstead 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/-mdoes 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/-mdoes nothing different
does not include "mal" prefix
- gradle:
.\gradlew run --args="command" - built jar
.\gradlew clean buildjava -jar build\libs\mal-cli-1.0.SNAPSHOT-all.jar command
- scripts:
.\gradlew clean build-
build\install\mal-cli\bin\mal-cli commandorbuild\install\mal-cli\bin\mal-cli.bat command