()
| 61 | } |
| 62 | |
| 63 | fn help() { |
| 64 | println!( |
| 65 | "EuraliOS shell help |
| 66 | |
| 67 | * Console windows |
| 68 | F1 System processes |
| 69 | F2..F5 User consoles |
| 70 | |
| 71 | * Built-in commands: |
| 72 | ls [<path>] List directory |
| 73 | cd <path> Change directory |
| 74 | pwd Print working directory |
| 75 | rm <file> Delete a file |
| 76 | mount List mounted filesystems |
| 77 | umount <path> Un-mount a filesystem |
| 78 | mkdir <path> Make a directory |
| 79 | exit Exit shell |
| 80 | " |
| 81 | ); |
| 82 | } |
| 83 | |
| 84 | /// List a directory |
| 85 | fn ls(current_directory: &Path, args: &[&str]) { |