truffle

module
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: Apache-2.0

README

truffle

Project to track queue of media that needs to be consumed.

Examples

go install github.com/minkezhang/truffle/truffle@latest

# Add sample entry.
truffle add \
  --title=Sabikui \
  --corpus=anime \
  --score=6.3 \
  --provider=crunchyroll \
  --queued=true \
  --studio=OZ \
  --director="Atsushi Itagaki" \
  --writer="Sadayuki Murai" \
  --season=1 \
  --episode=4

# Start watching the next season of Sabikui. truffle supports partial title and
# corpus matching.
truffle bump \
  --title=Sabikui \
  --corpus=anime \
  --major

# Search the user database as well as the MAL API for similar entries.
truffle search \
  --title=Sabikui \
  --corpus=anime \
  --api=truffle\
  --api=mal

# Inspect the MAL entry directly.
truffle get --id=mal:anime/48414

# Re-rate the entry and mark the MAL entry as duplicate, which will be filtered
# out in searches.
truffle patch \
  --title=Sabikui \
  --corpus=anime \
  --score=6.4 \
  --link=mal:anime/48414

# Search for DB data merged with any linked duplicates.
truffle get --title=Sabikui

# Delete the entry.
truffle delete --title=Sabikui

Uninstall

go clean -i github.com/minkezhang/truffle/truffle

Directories

Path Synopsis
api
mal
mal/shim
Package shim wraps the underlying MAL API client and return database entries.
Package shim wraps the underlying MAL API client and return database entries.
truffle
Package truffle provides a client interface for the truffle DB.
Package truffle provides a client interface for the truffle DB.
tools
importer
Package main runs the importer on a CSV file.
Package main runs the importer on a CSV file.
Package main maintains a database of user media entries.
Package main maintains a database of user media entries.
flag/flagset
Package flagset contains shared flagsets for the CLI.
Package flagset contains shared flagsets for the CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL