danielmcconville/Gist Sync File

Creates, updates, deletes or downloads a file from a gist

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
gistPatpersonal access token with read/write access for the gistyes
actionaction to perform, either "create", "delete", "update" or "download"yes
filenamename of the file containing the content to upload or download, can be a file path such as `dir/subdir/file.md`yes
gistIdid of the gist - only required for delete, update and downloadno
createIfNotExistsoptional, used with the download action. Create the gist if it does not exist, you must supply a filename if setting this to trueno
fileContentoptional used with the download actions where createIfNotExists is set to true. Content of the file to create if none exists. Defaults to '{}'no
namedescription
fileContentcontent of the file for download and update actions
gistIdid of the gist for create action