Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 981 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 981 Bytes

Flush shell

A command line shell written in Rust.

Showcase

~/Downloads〉cat file.txt
the best shell is
FLUSH OFC
~/Downloads〉twash file.txt
~/Downloads〉cat file.txt
Qm2qB4c9mHpKCGRHb
iX9OI0LOd
~/Downloads〉catsay LMAO!
               _----------_
              /            \
             |    LMAO!    |
    _---_    |  _________.-
  />  フ    \/
  |  _ _|
/` ミ_xノ
/     |
(  ヽ_ヽ_)__)
\二つ

Installition

To be able to call all of the available internal commands, you'll first need to run build in the root directory.

cargo build

After this, you can launch flush directly from ./target/debug/flush or by doing:

cargo run --bin flush

Usage

You can list all external and internal commands by typing 'help'.

The source code for all built-in commands is located in the 'commands' subdirectory (with the exception of ls, which has to be integrated into the shell directly).