diff --git a/imag-store/src/dump.rs b/imag-store/src/dump.rs new file mode 100644 index 00000000..9463c46a --- /dev/null +++ b/imag-store/src/dump.rs @@ -0,0 +1,23 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + +pub fn dump(rt: &mut Runtime) { + unimplemented!() +} + diff --git a/imag-store/src/main.rs b/imag-store/src/main.rs index 7d2f46e9..d2ddc464 100644 --- a/imag-store/src/main.rs +++ b/imag-store/src/main.rs @@ -64,10 +64,10 @@ use update::update; use verify::verify; fn main() { - let rt = generate_runtime_setup("imag-store", - &version!()[..], - "Direct interface to the store. Use with great care!", - build_ui); + let mut rt = generate_runtime_setup("imag-store", + &version!()[..], + "Direct interface to the store. Use with great care!", + build_ui); rt.cli() .subcommand_name() @@ -85,6 +85,7 @@ fn main() { "retrieve" => retrieve(&rt), "update" => update(&rt), "verify" => verify(&rt), + "dump" => dump(&mut rt), _ => { debug!("Unknown command"); // More error handling