Context

Context

< Go back

Context is a simple context manager for the terminal written in Rust. It stores context variables for the current path.

Installation

# Clone the repository
git clone https://github.com/JasirZaeem/context.git
# Build
cd context
cargo build --release
# Copy to bin
sudo cp target/release/context /usr/local/bin

Usage

Show context variables for current directory

context
# or
context print

Show a specific context variable

context <variable>
# or
context print <variable>

Set a context variable

context add <variable> <value>

Remove a context variable

context rm <variable>

Show config file path

context config

Chose a different config file

context --config <path> <command>
# use absolute path, set an alias for ease of use

Chose a different pwd

context --pwd <path> <command>
# use absolute path
Contact
220 smtp.example.com ESMTP Postfix
HELO client.example.com
250 smtp.example.com
MAIL FROM: <me@mydomain.com>
250 Ok
RCPT TO: <hi@zaeem.dev>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: "Me" <me@mydomain.com>
To: "Jasir" <hi@zaeem.dev>
Date: $Tue, 16 Sep 2025 17:17:43 GMT
Subject: Complaint Mail

Hi Jasir,
Your site gave me a virus. I am very upset.
Yours truly,
Me
.
250 Ok: queued as 12345
QUIT
221 Bye

Say Hi!

You can reach me at mailto:hi@zaeem.dev

Site best viewed at 1920x1080 in Your Browser