# cargo-me
Manage your Rust developer profile for Cargo scaffolding.
Store your name, email, GitHub handle, license, and organization in a simple TOML file, and use it to auto-fill new crates.
---
## ✨ Features
- Initialize a profile at `~/.cargo-me.toml` with placeholders.
- Set and update fields (`name`, `email`, `github`, `license`, `organization`).
- Show your current profile in pretty TOML.
- Edit your profile directly in `$EDITOR` (fallback to nano).
- Designed to be used by other cargo subcommands (like `cargo-set`).
---
## 📦 Installation
```bash
cargo install cargo-me
```
---
## 🚀 Usage
### Initialize a profile
```bash
cargo me init
```
Creates `~/.cargo-me.toml`:
```toml
name = "Your Name"
email = "you@example.com"
github = "your-github-handle"
license = "MIT"
organization = "Your Org"
```
### Set values
```bash
cargo me set name "JD Plumbing"
cargo me set email "jdplumbingsoflo@gmail.com"
cargo me set github "JDPlumbing"
cargo me set license "MIT"
```
### Show current profile
```bash
cargo me show
```
Output:
```toml
name = "JD Plumbing"
email = "jdplumbingsoflo@gmail.com"
github = "JDPlumbing"
license = "MIT"
organization = "Your Org"
```
### Edit in your favorite editor
```bash
cargo me edit
```
Uses `$EDITOR` if set, otherwise falls back to `nano`.
---
## 📊 Example workflow
1. Run `cargo me init` once to set up your profile.
2. Update with `cargo me set ...` or `cargo me edit`.
3. Other tools (like `cargo-set`) can now auto-fill your crate metadata.
---
## ⚖️ License
MIT License. See [LICENSE](LICENSE) for details.