Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.53 KB

File metadata and controls

61 lines (45 loc) · 1.53 KB

QUARK

Quark is a shell written in pure Python. It aims to be extensible and easy to use. It supports top-to-bottom execution of commands from a file. For advanced scripting, it uses Python.

See CHANGELOG.md for a history of changes.
See docs/ for detailed documentation on modules and internals.
See dev/ for development notes and plans.
See dev/planned.md for future development plans and ideas.

Features

  • Custom shell implemented in pure Python
  • Built-in commands
  • Extensible command system
  • Mature scripting system (Python)

Quick start

To run the shell from source, go to the project root and run:

python -BOO ./src/main.py

Use the -h flag with the main program for the help text.
Example commands:

ls -la
cd ../
echo -s haha foo bar

Building from source

Nuitka 4.0.8 is (currently) required for building the project. See the full list of requirements in build_reqmts.txt.

Go to the project root, and build the project with the build script, dev/pc.py:

git clone https://gitea.com/tkamaraj/quark.git/
cd ./quark/
python -m venv ./venv/
source ./venv/bin/activate
python -m pip install -r ./build_reqmts.txt
python -BOO ./dev/pc.py ./src/main.py

The help text is not available for the build script as of now, so please go through the build script source to find out which options and flags are available.

Pre-built binaries

For pre-built binaries, check the Releases page.