Skip to content

CLI

yoshi is a single binary for signing in, importing and exporting.

Terminal window
yoshi login # opens the browser to sign in
yoshi whoami
yoshi import --dry-run todos.csv food.csv # checks the files, changes nothing
yoshi import todos.csv food.csv
yoshi export --format md --out journal/ # a Markdown file a week
yoshi export --format csv --out backup/ # four CSV files
yoshi logout # signs this computer out
  • Sign-in: the token is kept in ~/.config/yoshi/config.json, readable only by you. Set YOSHI_TOKEN to use another, for scripts.
  • File kind: taken from the file’s name (todos, food, training, notes), or set with --kind.
  • Exit codes: 0 worked, 1 failed or the import found problems (each printed as file:line: what), 2 wrong arguments.