Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 814 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 814 Bytes

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