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
fixes#208
Option --skip-empty will skip any zero length files passes to gist. If
all files are empty no gist will be created at all.
test plan:
- create two empty files 'empty1' and 'empty2'.
- create a third file with some content 'content1'.
% bin/gist empty1 empty2 content1
# should return error about an empty file
% bin/gist --skip-empty empty1 empty2 content1
# should create gist with single file 'content1'
% bin/gist --skip-empty empty1 empty2
# should return error/notice about all files empty no gist created
% date | bin/gist
# should create gist with date string
0 commit comments