summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-10-26 20:19:19 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-10-26 20:19:19 +0200
commitd8354ce6f32abd7dfeb2542045cc7bbaf80c7cd1 (patch)
tree61a1d65442c26f90da3c31941dc24eb039688c1c
parenta0c5ea1fdafd944516002741eb55bce918ccc5f6 (diff)
downloadimag-d8354ce6f32abd7dfeb2542045cc7bbaf80c7cd1.zip
imag-d8354ce6f32abd7dfeb2542045cc7bbaf80c7cd1.tar.gz
Add id-in-collection command
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/core/imag/Cargo.toml5
-rw-r--r--bin/core/imag/build.rs4
2 files changed, 8 insertions, 1 deletions
diff --git a/bin/core/imag/Cargo.toml b/bin/core/imag/Cargo.toml
index 1250b2f..e97b508 100644
--- a/bin/core/imag/Cargo.toml
+++ b/bin/core/imag/Cargo.toml
@@ -29,6 +29,7 @@ imag-diagnostics = { optional = true, path = "../imag-diagnostics" }
imag-edit = { optional = true, path = "../imag-edit" }
imag-gps = { optional = true, path = "../imag-gps" }
imag-grep = { optional = true, path = "../imag-grep" }
+imag-id-in-collection = { optional = true, path = "../imag-id-in-collection" }
imag-ids = { optional = true, path = "../imag-ids" }
imag-init = { optional = true, path = "../imag-init" }
imag-link = { optional = true, path = "../imag-link" }
@@ -86,6 +87,7 @@ cc-all = [
"cc-imag-edit",
"cc-imag-gps",
"cc-imag-grep",
+ "cc-imag-id-in-collection",
"cc-imag-ids",
"cc-imag-init",
"cc-imag-link",
@@ -112,6 +114,7 @@ cc-imag-diagnostics = [ "imag-diagnostics" ]
cc-imag-edit = [ "imag-edit" ]
cc-imag-gps = [ "imag-gps" ]
cc-imag-grep = [ "imag-grep" ]
+cc-imag-id-in-collection = [ "imag-id-in-collection" ]
cc-imag-ids = [ "imag-ids" ]
cc-imag-init = [ "imag-init" ]
cc-imag-link = [ "imag-link" ]
@@ -130,4 +133,4 @@ cc-imag-mail = [ "imag-mail" ]
cc-imag-notes = [ "imag-notes" ]
cc-imag-timetrack = [ "imag-timetrack" ]
cc-imag-todo = [ "imag-todo" ]
-cc-imag-wiki = [ "imag-wiki" ] \ No newline at end of file
+cc-imag-wiki = [ "imag-wiki" ]
diff --git a/bin/core/imag/build.rs b/bin/core/imag/build.rs
index c7675ff..6983548 100644
--- a/bin/core/imag/build.rs
+++ b/bin/core/imag/build.rs
@@ -40,6 +40,8 @@ extern crate libimageditcmd;
extern crate libimaggpscmd;
#[cfg(feature = "cc-imag-grep")]
extern crate libimaggrepcmd;
+#[cfg(feature = "cc-imag-id-in-collection")]
+extern crate libimagidincollectioncmd;
#[cfg(feature = "cc-imag-ids")]
extern crate libimagidscmd;
#[cfg(feature = "cc-imag-init")]
@@ -119,6 +121,8 @@ fn main() {
let app = app.subcommand(build_subcommand!("gps", libimaggpscmd, ImagGps));
#[cfg(feature = "cc-imag-grep")]
let app = app.subcommand(build_subcommand!("grep", libimaggrepcmd, ImagGrep));
+ #[cfg(feature = "cc-imag-id-in-collection")]
+ let app = app.subcommand(build_subcommand!("id-in-colleciton", libimagidincollectioncmd, ImagIdInCollection));
#[cfg(feature = "cc-imag-ids")]
let app = app.subcommand(build_subcommand!("ids", libimagidscmd, ImagIds));
#[cfg(feature = "cc-imag-init")]