2 stable releases
1.0.1 | Jan 25, 2025 |
---|---|
1.0.0 | Jan 24, 2025 |
#477 in Command line utilities
253 downloads per month
5KB
70 lines
Apiraa
A Rust program that finds and copies the activate
script path of a python virtual environment
to the system clipboard for easy activation.
Features
- Detects virtual environments by searching for
activate
scripts. - Copies the
activate
script path to the clipboard. - Outputs the
source <path>
command.
Installation
- Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Clone the repo:
git clone https://github.com/NerdNinja420/apira.git
- Build:
cargo build --release
- Run:
cargo run
Usage
Run the program, and if a virtual environment is found, the path to its activate
script will be copied to the clipboard.
source /path/to/virtualenv/bin/activate
Requirements
- rust: for compiling the program
- wl-copy: for clipboard operation on Wayland.
License
MIT License
This version keeps the essential information while trimming down extra details.