Crates.io | point_reader |
lib.rs | point_reader |
version | 0.1.3 |
source | src |
created_at | 2023-04-15 16:01:01.281001 |
updated_at | 2023-05-15 15:20:37.764684 |
description | A simple CLI tool to read and display VSE points data |
homepage | https://github.com/shapedthought/point_reader |
repository | https://github.com/shapedthought/point_reader |
max_upload_size | |
id | 840018 |
size | 93,116 |
This is a simple application that can takes a VSE (official) export JSON file with the points enabled and display them in a table and optionally to a CSV file.
Enabling this feature in the new VSE tool is not public information, you will need to discuss it with your local Solutions Architect.
The VSE tool is being updated regularly so expect breaking changes to this tool.
cargo install point_reader
Uninstall:
cargo uninstall point_reader
cargo install --path .
git clone https://github.com/shapedthought/point_reader.git
cd point_reader
docker build -t point_reader .
docker run -it --rm -v ${PWD}:/tmp point_reader /bin/bash
# ./point_reader -f /tmp/VSE_export.csv -t pc -s /tmp/workload1_points.csv
This uses a bind mount as an example, you can use any method you like to get the files in/out of the container.
CLI:
Point Reader
Usage: point_reader.exe [OPTIONS] --file <FILE>
Options:
-f, --file <FILE> Path to file
-t, --tiers <TIERS> [default: pca]
-s, --save-file <SAVE_FILE>
-w, --workload <WORKLOAD>
-h, --help Print help
-V, --version Print version
Run tool without outputting to CSV:
point_reader --file VSE_Exports.json
Run tool and output to CSV:
point_reader --file VSE_Exports.json --save-file points_data.csv
The .csv is option and will be added if not provided
To run the tool and show only specific tiers, use the -t flag:
point_reader --file VSE_Exports.json --tiers pc
The tiers are:
If you know the workload name you can run the tool non-interactively with the --workload flag:
point_reader --file VSE_Exports.json --workload "Workload 1"