mansplain is a Command-Line Interface (CLI) tool built in Rust that mansplains a command to you
- Rust and Cargo installed
- An OpenAI API key
git clone https://github.com/pratik-kanthi/mansplain.git
cd mansplainSet the OpenAI API key as an environment variable. You can either do this manually before running the program:
export OPENAI_API_KEY=your-api-key-hereOr you can automate it by adding the above line to your .bashrc (Linux) or .bash_profile (Mac).
Navigate to the root directory of the project and execute:
cargo build --releaseThis will generate an optimized executable in ./target/release/.
To run the program:
./target/release/mansplain [COMMAND]