A screenshot CLI application built in Golang. This app uses
Cobra, as well as a bunch of other libraries I created.
This app will allow you to take a screenshot of your whole screen, or just a selected region. It will copy the screenshot to your clipboard, and with the
--upload flag will upload it to imgur.
Make sure you have your
$GOPATH setup properly. Use
go get to install the binary:
go get -u github.com/ZacJoffe/screenshot
Invoke the app with the
screenshot command. Using the
-s for short) flag will allow you to select a region. Using the
-u) flag will upload the screenshot to imgur, output the link and copy it to your clipboard.
-i for short) flag will use ImageMagick instead of
maim for the screenshot backend.
So, to select a region of the screen and upload it, you can use: