fx snapshot

Obtain and parse a snapshot from a connected target.

Connects to a running target and obtains a snapshot that contains useful
information for debugging a target.

Information supplied includes:
- Build information and annotations.
- Kernel and System logs.
- Inspect Data.

If no directory is supplied, a unique one will be generated.

Usage: fx snapshot [(--output-directory|-o)] <DIRECTORY>] -- <TARGET ARGS>

   --output-directory    (Optional) Directory where the files will be stored.
                         Must be an existing directory.

snapshot source code