Merge snapshotPivot and snapshot cli commands and support multiple outputs