Astra

Commands

Command Execution

Astra executes commands through the system environment while providing additional shell features such as aliases, history, completion, and custom prompt rendering.

Built-in Commands

Built-in commands are handled directly by Astra instead of being passed to the operating system.

exit

exit

Closes the Astra shell session.

cd

cd directory

Changes the current working directory.

history

history

Displays previously executed commands.

Aliases

Aliases create shortcuts for frequently used commands.

[aliases]

ll = "ls -la"
update = "cargo update"

After adding an alias, restart Astra to load the changes.

External Commands

Commands not handled internally are executed through the operating system. Examples:

git status

cargo build

ls -la

python3 script.py

Command Completion

Astra provides command completion through its Rust-based completion system.

Completion supports:

Future Commands

Planned command additions include: