oursh 0.4.4

Modern, fast POSIX compatible shell
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use docopt::ArgvMap;
use crate::process::{Jobs, IO};
#[cfg(feature = "history")]
use crate::repl::history::History;

#[derive(Debug)]
pub struct Runtime<'a> {
    pub background: bool,
    pub io: IO,
    pub jobs: &'a mut Jobs,
    pub args: &'a ArgvMap,
    #[cfg(feature = "history")]
    pub history: &'a mut History,
}