|
@ -6,7 +6,8 @@ pub struct Help; |
|
|
|
|
|
|
|
|
impl Builtin for Help {
|
|
|
impl Builtin for Help {
|
|
|
fn execute(&mut self, _: &mut BuiltinConfig, _: Vec<String>) -> Result<(), ShellError> {
|
|
|
fn execute(&mut self, _: &mut BuiltinConfig, _: Vec<String>) -> Result<(), ShellError> {
|
|
|
let commands = "cd changes current working directory
|
|
|
|
|
|
|
|
|
let commands = "blahaj prints blahaj, styles: p, t
|
|
|
|
|
|
cd changes current working directory
|
|
|
change-prompt changes prompt style (default, bashlike, simpledirectory)
|
|
|
change-prompt changes prompt style (default, bashlike, simpledirectory)
|
|
|
exit exits the shell
|
|
|
exit exits the shell
|
|
|
fetch prints out system information
|
|
|
fetch prints out system information
|
|
|