Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

esa-nippou

Build Status

esa-nippou is print today's your esa.io articles.

esa-nippou is inspired by masutaka/github-nippou.

Install

Homebrew

$ brew tap mizukmb/homebrew-esa-nippou
$ brew install esa-nippou

Setup

Please execute esa-nippou init command. It Sets required configurations on interactive mode.

$ esa-nippou init
Personal access token (hidden):
Team: example
Screen name: mizukmb
$ cat ~/.esanippourc
esanippou:
  team: example
  screen_name: mizukmb
  parsonal_access_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

or enviroment variables (load priority: .esanippourc < environment variables).

  • ESA_NIPPOU_ACCESS_TOKEN (required)
    • esa.io personal access tokens
    • You can generate this token from https://[team].esa.io/user/applications
  • ESA_NIPPOU_TEAM (required)
    • Name of the team you belong to
  • ESA_NIPPOU_USERNAME (required)
    • Your screen name (NOT full name)

Build

$ cargo build

or download from release page (x86_64-apple-darwin only).

Usage

$ esa-nippou
# print today's your articles...

Example

$ esa-nippou
### mizukmb.esa.io

- [Users/mizukmb/memo/foo](https://mizukmb.esa.io/posts/123456) by @mizukmb **WIP**
- [/2018/07/25/mizukmb's diary(https://mizukmb.esa.io/posts/78910) by @mizukmb

Author

@mizukmb

License

MIT