From baa57a08e76928e3b004358c02789e5962bfb073 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Thu, 19 Mar 2020 17:03:10 +0100 Subject: [PATCH] Updating online-help & README --- README.md | 28 ++++++++++++++++++++++------ src/main.rs | 9 +++++++-- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6244808..9a6aae4 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,14 @@ This enables the index implementations to be agnostic from the underlying data s * Rust: https://www.rust-lang.org -## Quick start - Checkout the dependencies in the parent folder: - * mercator_db - * ironsea_index - * ironsea_index_hashmap - * ironsea_index_sfc_dbc + + * mercator_db – https://github.com/epfl-dias/mercator_db + * ironsea_index – https://github.com/epfl-dias/ironsea_index + * ironsea_index_hashmap – https://github.com/epfl-dias/ironsea_index_hashmap + * ironsea_index_sfc_dbc – https://github.com/epfl-dias/ironsea_index_sfc_dbc + +## Quick start For 3 datasets, `setA`, `setB`, `setC`, the following files are expected to be in the current folder: * setA: @@ -75,6 +76,21 @@ For more options, please refer to the online help: cargo run --release -- --help ``` +## Installation + +To install the software on the system, after checking out the +dependencies you can use: + +```sh +cargo install --path . +``` + +Then in any folder you can then use: + +```sh +mercator_indexer -f json setA:v0.1 setB setC:MyAwesomeVersion +``` + ## Acknowledgements This open source software code was developed in part or in whole in the diff --git a/src/main.rs b/src/main.rs index 9aad332..4fac74c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,9 +47,14 @@ struct Opt { /// List of datasets to index /// + /// The data files are expected to be found in the current directory. + /// /// Syntax per dataset: - /// name[:version]: where name is the basename of the input files, and - /// `version` a string to add to the dataset description + /// + /// name[:version] + /// + /// where `name` is the basename of the input files, and `version` a + /// string to add to the dataset description. datasets: Vec, }