Access and refresh token from Github for performing authenticated actions on behalf of the user (part of OAuth flow)
IDs of Gists created by the user
User Github name
Paths to files that have Gists, e.g., /Users/sarah/code/lexladiescode/myfile.txt
Line numbers in a file that have a Gist, e.g., line 1-4 are in a Gist
Which Gist is associated with which range of lines in which file
We could start out storing data in a JSON file. Need to determine a structure for this file to store all the data we need. Could use a SQLite database later if our data gets unwieldy in a simple JSON file.
Need to figure out where to save this file, where a Sublime Text plugin has access to read/write on a user's machine. Will differ between OS X and Windows.
Data we want to store:
We could start out storing data in a JSON file. Need to determine a structure for this file to store all the data we need. Could use a SQLite database later if our data gets unwieldy in a simple JSON file.
Need to figure out where to save this file, where a Sublime Text plugin has access to read/write on a user's machine. Will differ between OS X and Windows.