summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-06 11:40:07 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-06 11:41:08 +0200
commit9f29c971e589fd07c9da5871959bffaabf0f70ff (patch)
tree3cd43ec6158b55fbc0ae440b4be2083e676b1888 /src/cli.rs
parentcaf7aa235c6c305e59a2587348eda9300736fc72 (diff)
Remove compare functionality
This functionality was fundamentally broken and not good. We will (re)implement similar functionality in the future, though. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/cli.rs b/src/cli.rs
index c99bbd9..871f941 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -142,36 +142,6 @@ pub fn build_cli<'a>() -> App<'a, 'a> {
)
)
- .subcommand(SubCommand::with_name("compare")
- .about("Compare a list of packages to distro repositories")
- .arg(Arg::with_name("compare-list")
- .index(1)
- .required(true)
- .multiple(false)
- .takes_value(true)
- .value_name("FILE")
- .help("Compare the data from this list to a list of distros out there. Supports JSON and CSV, based on file extension (.json / .csv)"))
- .arg(Arg::with_name("compare-distros")
- .index(2)
- .required(true)
- .multiple(true)
- .takes_value(true)
- .value_name("DIST")
- .help("A list of repology distribution names to compare to"))
-
- .after_help(r#"
- Compare a list of packages to all supplied repology distributions.
- The list of packages shall have the following format:
-
- * CSV:
- Header: name;version;comment
-
- * JSON:
- { "name": "...", "version": "...", "comment": "..." }
-
- "#)
- )
-
.after_help(r#"
repolocli can read data from stdin, if you want to postprocess repology.org data you already
fetched from repology.org/api/v1 via curl (or some other method).