Skip to content
/ gistmaker Public

GistMaker is a command line utility written in C++. It creates github gists from local files.

License

Notifications You must be signed in to change notification settings

px86/gistmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GistMaker - create github gists from local files

GistMaker is a command line utility written in C++. It creates github gists from local text files.

How to build

Make sure you have conan, cmake, gcc installed.

git clone https://github.com/px86/gistmaker
cd gistmaker
mkdir build
cd build
conan install ..
cmake ..
cmake --build .

Note: the executable is named as gm.

Usage

Create a github personal access token, with permissions to create/delete gists. And export it in the GISTMAKER_TOKEN environment variable.

Usage: gistmaker [OPTIONS]

Options:
  --help            Print this help message
  --file, -f VAL    file to be uploaded
  --desc, -d VAL    gist description
  --public, -p      make gist public

Example

gm --file ./path/to/somefile.md --public --desc "This is gist description"

About

GistMaker is a command line utility written in C++. It creates github gists from local files.

Topics

Resources

License

Stars

Watchers

Forks