A CLI for grabbing ios/android screenshots and saving to your clipboard or filesystem.
osnap [ios|android] [-f filename.png] [-d android_device_id]
🍎 With iOS
osnap ios
osnap ios -f sweet.png
🤖 With Android
osnap android
osnap android -f cool.png
osnap android -f omg.png -d emulator-5554
npm i -g osnap
- macos 10.10 and up
- node 6 and up
- either android or xcode toolchains
- http://www.alecjacobson.com/weblog/?p=3816
- https://gist.github.com/mwender/49609a18be41b45b2ae4
MIT
See the Releases section.