NAME
benchmarkanything-storage - BenchmarkAnything storage cmdline tool
SYNOPSIS
Default data format (in and out) is JSON, other formats can be specified.
Initialize BenchmarkAnything:
$ benchmarkanything-storage init
Create BenchmarkAnything storage database:
$ benchmarkanything-storage createdb
Add data to backend storage:
$ benchmarkanything-storage add data.json
$ benchmarkanything-storage add -i yaml data.yaml
Query backend storage for data:
$ echo 'json_search_query' | benchmarkanything-storage search -
Input formats
The following input formats are allowed, with their according modules used to convert the input into a data structure:
yaml - YAML::Any (default)
json - JSON
dumper - Data::Dumper (including the leading $VAR1 variable assignment)
Output formats
The following output formats are allowed:
yaml - YAML::Any
json - JSON (default)
xml - XML::Simple
ini - Config::INI::Serializer
dumper - Data::Dumper (including the leading $VAR1 variable assignment)
flat - pragmatic flat output for typical unixish cmdline usage
See "Output formats" in BenchmarkAnything::Storage::Frontend::Lib for more details, especially about the flat output format.
_read_in
This function reads in a data structure. The meaning of the data depends on the sub command: for search
it is a search query, for add
it is an array of BenchmarkAnything data points.
_write_out
This function writes a data structure in requested output format.
ABOUT
Cmdline tool to handle BenchmarkAnything data, see http://benchmarkanything.org
SEE ALSO
For more information about the BenchmarkAnything schema, see http://www.benchmarkanything.org/.
AUTHOR
Steffen Schwigon <ss5@renormalist.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Steffen Schwigon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.