summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 1473164..c43cc0e 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -691,6 +691,24 @@ pub fn cli<'a>() -> App<'a> {
.about("Overwrite existing cache entry")
)
)
+ .subcommand(App::new("of")
+ .version(crate_version!())
+ .about("Get the pathes of the sources of a package")
+ .arg(Arg::new("package_name")
+ .required(false)
+ .multiple(false)
+ .index(1)
+ .value_name("PKG")
+ .about("Get the source file pathes for this package")
+ )
+ .arg(Arg::new("package_version")
+ .required(false)
+ .multiple(false)
+ .index(2)
+ .value_name("VERSION")
+ .about("Get the source file pathes for the package in this version")
+ )
+ )
)
.subcommand(App::new("release")