- Notifications
You must be signed in to change notification settings - Fork0
✊ Fast gist uploader. Upload binary, image, text... whatever to gist.
License
NotificationsYou must be signed in to change notification settings
Xvezda/fist
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The fast & easy gist uploader script. Derieved fromshhhh project.
fist [files ...]# orecho'something'| fist
usage: fist [-h] [--browser] [--verbose] [--silent] [--dry] [--skip-all] [--user [USER]] [--token [TOKEN]] [files [files ...]]positional arguments: files files to upload.optional arguments: -h, --help show this help message and exit --browser, -b open web browser when gist uploaded. --verbose, -v print informations for debugging. --silent, -s ignore outputs, except gist url. --dry, -d dry run. --skip-all, -q skip all optional inputs. --user [USER], -u [USER] set github user name. --token [TOKEN], -t [TOKEN] set github access token.
export GITHUB_USERNAME=[YOUR_USERNAME_HERE] # Or, fist --user USERNAMEexport GITHUB_TOKEN_FIST=[YOUR_ACCESS_TOKEN_HERE] # Or, fist --token TOKEN
Go tosettings > profile >Developer settings >Personal access tokens.
Then, clickGenerate new token and checkgist
checkbox for permission.