Skip to main content

get/set gist description

Project description

Installation

$ [sudo] pip install gist-description

Config

$ export GITHUB_TOKEN="<GITHUB_TOKEN>"

Scripts usage

usage: gist-description id [description]

Examples

$ gist-description <id> "new description"
$ gist-description <id>
new description

update multiple gists description

$ pip install gist-id

a) folder name as description

find ~/git/gists -type d -maxdepth 1 -exec bash -l -c 'id=$(gist-id "$0"); desc="$(basename "$0")"; [[ -n $id ]] && gist-description $id $desc' {} \;

b) description.txt as description

$ find ~/git/gists -type d -maxdepth 1 -exec bash -l -c 'id=$(gist-id "$0"); desc="$(cat description.txt 2> /dev/null)"; [[ -n $id ]] && [[ -n $desc ]] && gist-description $id $desc' {} \;

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gist-description, version 2019.5.8
Filename, size File type Python version Upload date Hashes
Filename, size gist-description-2019.5.8.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page