Add Runtime::config()
This commit is contained in:
parent
86929c819c
commit
1bcc05a855
1 changed files with 7 additions and 0 deletions
|
@ -207,6 +207,13 @@ impl<'a> Runtime<'a> {
|
||||||
&self.cli_matches
|
&self.cli_matches
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the configuration object
|
||||||
|
*/
|
||||||
|
pub fn config(&self) -> Option<&Configuration> {
|
||||||
|
self.configuration.as_ref()
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the store object
|
* Get the store object
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue