You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to be able to sync a gist to a folder or list of files. --update can do most of this (add new files + update existing files); the only thing missing is removing files no longer present or specified.
A simple way to achieve this would to list the gist's files first (that functionality would be helpful on its own; issue #287) and match by filename. The Gist API then supports specifying a null file to delete it:
It'd be great to be able to sync a gist to a folder or list of files.
--update
can do most of this (add new files + update existing files); the only thing missing is removing files no longer present or specified.A simple way to achieve this would to list the gist's files first (that functionality would be helpful on its own; issue #287) and match by filename. The Gist API then supports specifying a
null
file to delete it:https://developer.github.com/v3/gists/#edit-a-gist
Thanks for the consideration!
The text was updated successfully, but these errors were encountered: