commit
52cacceda1
15 changed files with 177 additions and 8 deletions
|
@ -79,7 +79,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-annotation", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
},
|
||||
}
|
||||
});
|
||||
|
|
|
@ -98,7 +98,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-store", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
},
|
||||
};
|
||||
} else {
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate clap;
|
||||
#[macro_use] extern crate log;
|
||||
|
||||
|
@ -91,7 +106,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-tag", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate clap;
|
||||
#[macro_use] extern crate log;
|
||||
extern crate walkdir;
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
use std::process::exit;
|
||||
use std::io::Write;
|
||||
|
|
|
@ -86,7 +86,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-diary", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
},
|
||||
}
|
||||
});
|
||||
|
|
|
@ -77,7 +77,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-log", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
},
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate clap;
|
||||
#[macro_use] extern crate log;
|
||||
|
||||
|
@ -59,7 +74,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-mail", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate clap;
|
||||
#[macro_use] extern crate log;
|
||||
extern crate itertools;
|
||||
|
@ -71,7 +86,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-notes", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
},
|
||||
};
|
||||
});
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate clap;
|
||||
#[macro_use] extern crate log;
|
||||
extern crate toml;
|
||||
|
@ -56,7 +71,7 @@ fn main() {
|
|||
let _ = rt.handle_unknown_subcommand("imag-todo", other, rt.cli())
|
||||
.map_err_trace_exit_unwrap(1)
|
||||
.code()
|
||||
.map(std::process::exit);
|
||||
.map(::std::process::exit);
|
||||
}
|
||||
None => {
|
||||
warn!("No command");
|
||||
|
|
|
@ -17,6 +17,22 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
dead_code,
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate chrono;
|
||||
extern crate toml;
|
||||
extern crate toml_query;
|
||||
|
|
|
@ -17,6 +17,22 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
dead_code,
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate error_chain;
|
||||
extern crate toml;
|
||||
|
|
|
@ -17,6 +17,22 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
dead_code,
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate toml;
|
||||
extern crate toml_query;
|
||||
#[macro_use] extern crate serde_derive;
|
||||
|
|
|
@ -17,6 +17,22 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
#![deny(
|
||||
dead_code,
|
||||
non_camel_case_types,
|
||||
non_snake_case,
|
||||
path_statements,
|
||||
trivial_numeric_casts,
|
||||
unstable_features,
|
||||
unused_allocation,
|
||||
unused_import_braces,
|
||||
unused_imports,
|
||||
unused_must_use,
|
||||
unused_mut,
|
||||
unused_qualifications,
|
||||
while_true,
|
||||
)]
|
||||
|
||||
extern crate notify_rust;
|
||||
#[macro_use] extern crate error_chain;
|
||||
|
||||
|
|
Loading…
Reference in a new issue