/deacon

Deacon shell

Primary LanguageRustApache License 2.0Apache-2.0

Deacon

Shell 0.2.4

The greeting

About

Deacon is a cross-platform shell that aims to replace cmd.exe and PowerShell for Windows users, and to be on par with mature shells like bash.

Building Deacon

Currently, Deacon is still in development. If you still want to use Deacon, clone this repository and build it using cargo +nightly build. This requires Rust 1.68.0.

Functions

NOTICE The following is not fully implemented yet!

To define a function, one only needs to write the function signature and its body. For example,

func x() {
    echo "Hello, world!"
    echo "Hallo Welt!"
}

You must start with a newline before the { character and end with another newline before the ending } The following is now permitted:

func x() { echo "Hello, world!"
    echo "Hallo Welt!" }