/pbssc

You can get the device image from the CLI and copy it to the clipboard.

Primary LanguageShellApache License 2.0Apache-2.0

pbssc

Provide screenshot and copy to clipboard.

You can get the device image from the CLI and copy it to the clipboard

demo.mp4

Requirement

Install

You can install pbssc with Homebrew.

% brew tap sakebook/tap && brew install pbssc

Setup

  • Set environment variable PBSSC_IMAGE_PATH. This is an images save path.
export PBSSC_IMAGE_PATH=/YOUR/PATH

Android device

% pbssc -a

iOS device

% pbssc -i

Save only screenshot from connected devices

% pbssc -s