Skip to content

mikelietz/gist-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This expects to find the following block in ~/.gitconfig to post via your account:

[github]
user = <your username>
password = <your password>

Note also that if your existing .gitconfig has tabs in there, you'll need to strip those out.

This can take a list of files, or can accept input from stdin and creates a gist (and prints the url)

Other options:

usage: gist [-h] [--description DESCRIPTION] [--private]
            [infile_list [infile_list ...]]

Create a github gist from a file, or from stdin

positional arguments:
  infile_list - Not Required, if ommitted, will accept from stdin

optional arguments:
  -h, --help            show this help message and exit
  --description DESCRIPTION, -d DESCRIPTION
  --private, -p

if you run setup.py, it will install the mkgist binary.

About

An attempt to script gist creation from the command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages