Add Runtime::config()

This commit is contained in:
Matthias Beyer 2016-03-26 19:50:13 +01:00
parent 86929c819c
commit 1bcc05a855

View file

@ -207,6 +207,13 @@ impl<'a> Runtime<'a> {
&self.cli_matches
}
/**
* Get the configuration object
*/
pub fn config(&self) -> Option<&Configuration> {
self.configuration.as_ref()
}
/**
* Get the store object
*/