Merge snapshotPivot and snapshot cli commands and support multiple outputs

Not entirely sure I have this right. Will add a cli test once I get a confirmation.