NAME

gist - GitHub Gist creator

VERSION

version 0.04

SYNOPSIS

gist [OPTIONS] FILE

Options:
  --extension, -e    EXTENSION
  --description, -d  DESCRIPTION
  --update, -u       GIST_ID
  --private, -p

Examples:
  $ gist script.pl       # Make gist extract the file extension
  $ gist script -e .pl   # Explicitly set file extension
  $ cat script | gist    # Take file content from STDIN

OPTIONS

--description, -d DESCRIPTION

Set the description for the gist.

--update, -u GIST_ID

Update the given gist (identified by GIST_ID), with the given file.

--private, -p

Create a private gist.

CONFIGURATION

The login username and the API token can be set via the GITHUB_USER and GITHUB_TOKEN environment variables. If not set, will be used the values of github.user and github.token from the Git configuration. To set them, type:

$ git config --global github.user LoginName
$ git config --global github.token GitHubToken

If neither github.user and github.token are set, the login name and the API token will be asked interactively to the user.

TOKEN

The API token can be found on the Account Settings page on GitHub. Visit the url: https://github.com/account

AUTHOR

Alessandro Ghedini <alexbio@cpan.org>

LICENSE AND COPYRIGHT

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.