Skip to content

A utility to query for new gists on a user's account

License

Notifications You must be signed in to change notification settings

flybd5/gistquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GISTQUERY

gistquery is a utility to query a single user's GitHub gists

Syntax

gistquery <username>

Where <username> is the Github user's username.

The first time you query a user's gist it will register the current gists for that user and show the date of the latest gist. The user will be registered in a file named /tmp/gistquery.<username>. Subsequent executions for the same username will tell you if a new gist has been added by the user.

To reset an individual query, delete /tmp/gistquery.<username>. To reset all queries, delete /tmp/gistquery.*

Requirements

  • Python 2.7 or higher
  • Apply requirements.txt with pip

Exit codes

  • User not found: 255
  • User has not published any gists: 1
  • Success (first or subsequent queries): 0

License

GNU General Public License v3.0

About

A utility to query for new gists on a user's account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages