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' {} \;
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for gist-description-2019.5.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0471000733cad0f6c69d01fc02305ca983b9993fd4485ab8a325d23230a3afbd |
|
MD5 | bfdbcc0ac407513d82edb082070547f9 |
|
BLAKE2b-256 | 9343fb45e894eb92d1775f9f214bb315ffde8d3583d4587c5649fbafd82b7c2f |