/bost

CLI to interact with jekyll posts in a lazy way.

Primary LanguageGo

B[logp]ost

Interact with jekyll posts because I don't always remember what's the date of my blogpost and I don't remember either what's the template for an empty post.

Usage

bost [global options] command [command options] [arguments...]

Commands

  • create
  • open without really know the name of the file. bost open my-first will open 2016-01-29-my-first-post
  • search

Help

NAME:
   bost - interact with jekyll posts

USAGE:
   bost [global options] command [command options] [arguments...]

VERSION:
   0.2.0

COMMANDS:
   create, c	create a blog post
   open, o	open blog post lazily
   search, s	search for posts
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --directory, -d "_posts"	directory where to look for posts
   --help, -h			show help
   --version, -v		print the version

Install

mkdir -p $HOME/gocode/{src,pkg,bin}
git clone git@github.com:boertel/bost.git $HOME/gocode/src/github.com/boertel/bost
export GOPATH=$GOPATH:$HOME/gocode
export PATH=$PATH:$HOME/gocode/bin
go install github.com/boertel/bost