Files
flipper/desktop/flipper-dump
Lawrence Lomax be451e15d9 Use demandOption instead of explicit checks of args
Summary: `yargs` supports this

Reviewed By: passy

Differential Revision: D33812132

fbshipit-source-id: d7846222f140fc32035824fe035737ae9ae2780e
2022-01-27 03:22:30 -08:00
..
2021-12-16 14:54:59 -08:00
2021-12-17 07:36:07 -08:00

flipper-dump

Stand alone Flipper command, that uses flipper-server-core to connect to apps and dump all incoming messages.

To get started, run yarn install in the desktop/ folder once.

This package is currently a proof of concept and can be used like:

yarn start --device='iPhone 12' --client='Instagram' --plugin='AnalyticsLogging'

Or to capture all output to a file (meta messages will be printed on STDERR):

yarn --silent start --device='iPhone 12' --client='Instagram' --plugin='AnalyticsLogging' > out.txt

Future features:

  • Package so that it can be run using npx
  • Support filter & transformation functions
  • See TODOs in code
  • Support better configuration
  • Custom formatting
  • [FB] Support Certificate Exchange clients