go-teedy

module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT

README

go-teedy

GitHub release (latest by date) go reference GitHub Codecov branch Twitter Follow

This repository contains:

  • go-teedy, a Go client library for accessing the API of Teedy. Read the package docs for library usage.

  • teedy-cli, a command line tool to backup, restore and import Evernote enex files into Teedy.

⭐️ teedy-cli

⚡️ Installation
  • Download teedy-cli for your system from the releases page.
  • Extract the binary the location of your choosing.
⚙️ Commands
help

Get CLI help.

teedy-cli --help
backup

Backup a Teedy instance.

# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password

teedy-cli backup --url http://source.teedy.local --destinationpath ./backup
restore

Restore a Teedy instance from a backup.

# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password

teedy-cli restore --url http://destination.teedy.local:8080 --sourcepath ./backup
deletedocsfortag

Deletes all documents with a specific Tag ID.

# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password

teedy-cli deletedocsfortag --url http://teedy.local:8080 --tagid f3472d4e-ed47-414c-ad7a-be65ab54d107
evernote

Import an Evernote .enex file into Teedy.

🔔 Export an Evernote notebook to an .enex file on disk first

# Provide username and password via environment variables
export TEEDY_USERNAME=user
export TEEDY_PASSWORD=password

teedy-cli evernote --url http://localhost:8080 --source-enex source.enex

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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