Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suhay/evernode-cli
Node based CLI tool using the Evernote SDK
https://github.com/suhay/evernode-cli
Last synced: 7 days ago
JSON representation
Node based CLI tool using the Evernote SDK
- Host: GitHub
- URL: https://github.com/suhay/evernode-cli
- Owner: suhay
- License: mit
- Created: 2020-09-30T00:24:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T20:48:26.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T05:47:29.060Z (about 1 month ago)
- Language: TypeScript
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Evernode CLI
The CLI you never asked for, nor probably need, for your Evernote Netbooks. Unless, like me, you require a distraction free environment to do any kind of planning or writing, in which case, an old Chromebook running Arch Linux. If that is you, then this is perfect.
## Setup
First you need a production API Key / Secret pair, or a production Access Token. Logging in is on you, we want no part of it. You'll need to make one with `Full Access`.
API KEY: https://dev.evernote.com/doc/
Token: https://dev.evernote.com/get-token/
Evernote FAQ: https://dev.evernote.com/support/faq.php## Go
```bash
$ yarn add @suhay/evernode-cli
$ mkdir ~/notebook
$ cd ~/notebook$ evernode # asks for and saves your API keys
$ evernode --init # initializes the current directory as your notebook root
```| Flag | Description |
| :-------- | :---------- |
| `-l, --list` | If within the notebook `root`, it will list all locally cached notebook names. If within a `notebook`, it will list all locally cached note names. |
| `-o, --open ` | If within the notebook `root`, it will open the named notebook locally and create a directory for it. If within a `notebook`, it will open the named note and copy the content into the markdown file. |
| `-n, --new ` | If within the notebook `root`, it will create a notebook, both remotely and locally, with the given name. If within a `notebook`, it will create a note, both locally and remotely, with the given name. |
| `-s, --sync [note]` | If within the notebook `root`, it will refresh the local cache of notebook names. If within a `notebook`, it will refresh the local cache of note names. If a note's name is provided, it will sync the file contents either from Evernote or locally depending on which version is more recent. |