gist - Gist command-line tool
version 0.16
gist [OPTIONS] FILE
$ gist script.pl
$ cat script.pl | gist -d 'some script' -n script.pl
$ echo "something" | gist -w | xclip $ echo "something" | gist -w | pbcopy # on Mac OS X
Set the description for the gist.
Specify the name of the file (useful when using a pipe).
Update the given gist (identified by GIST_ID), with the given file.
Create a private gist.
Only output the web url.
Configure git with your GitHub credentials:
$ git config --global github.user LoginName $ git config --global github.password GitHubPassword
Alternatively you can install Config::Identity and write your credentials in the (optionally GPG-encrypted) ~/.github file as follows:
~/.github
login LoginName password GitHubpassword
(if only the login name is set, the password will be asked interactively)
Alessandro Ghedini <alexbio@cpan.org>
Copyright 2011 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install App::gist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::gist
CPAN shell
perl -MCPAN -e shell install App::gist
For more information on module installation, please visit the detailed CPAN module installation guide.