Browse Source

feat: add blahaj command to help section

main
fdai7374 2 years ago
parent
commit
e97886432b
  1. 3
      src/builtins/help.rs

3
src/builtins/help.rs

@ -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

Loading…
Cancel
Save