A simple gist editor for CLI
![]()
- Simple and intuitive
- Customizable
- A few options and small TOML
- Easy to install
- Go! single binary
DEMO
Currently gist supports the following commands:
$ gist help
gist - A simple gist editor for CLI
Usage:
gist [flags]
gist [command]
Available Commands:
config Config the setting file
delete Delete gist files
edit Edit the gist file and sync after
new Create a new gist
open Open user's gist
Flags:
-v, --version show the version and exit
Use "gist [command] --help" for more information about a command.
Well-specified options and user-specific settings can be described in a toml file. It can be changed with the gist set
command.
[Core]
Editor = "vim"
selectcmd = "fzf-tmux --multi:fzf:peco:percol"
tomlfile = "/Users/b4b4r07/.config/gist/config.toml"
user = "b4b4r07"
[Gist]
token = "your_github_token"
dir = "/Users/b4b4r07/.config/gist/files"
[Flag]
open_url = false
private = false
verbose = true
show_spinner = true
This behavior was heavily inspired by mattn/memo, thanks!
$ go get github.com/b4b4r07/gist
There are many other implements as the gist client (called "gister") such as the following that works on command-line:
MIT
b4b4r07