docs: polish himalaya skill docs
This commit is contained in:
@@ -39,14 +39,14 @@ backend.auth.raw = "your-password"
|
||||
### Password from command (recommended)
|
||||
```toml
|
||||
backend.auth.cmd = "pass show email/imap"
|
||||
backend.auth.cmd = "security find-generic-password -a user@example.com -s imap -w"
|
||||
# backend.auth.cmd = "security find-generic-password -a user@example.com -s imap -w"
|
||||
```
|
||||
|
||||
### System keyring (requires keyring feature)
|
||||
```toml
|
||||
backend.auth.keyring = "imap-example"
|
||||
```
|
||||
Then run `himalaya configure -a <account>` to store the password.
|
||||
Then run `himalaya account configure <account>` to store the password.
|
||||
|
||||
## Gmail Configuration
|
||||
|
||||
@@ -172,4 +172,3 @@ Set via environment variable:
|
||||
```bash
|
||||
export EDITOR="vim"
|
||||
```
|
||||
|
||||
|
||||
@@ -163,14 +163,15 @@ himalaya message forward 42
|
||||
|
||||
### Send from stdin
|
||||
```bash
|
||||
cat message.txt | himalaya message write
|
||||
cat message.txt | himalaya template send
|
||||
```
|
||||
|
||||
### Send with headers from CLI
|
||||
### Prefill headers from CLI
|
||||
```bash
|
||||
echo "Message body here" | himalaya message write \
|
||||
--to "recipient@example.com" \
|
||||
--subject "Quick Message"
|
||||
himalaya message write \
|
||||
-H "To:recipient@example.com" \
|
||||
-H "Subject:Quick Message" \
|
||||
"Message body here"
|
||||
```
|
||||
|
||||
## Tips
|
||||
@@ -178,5 +179,4 @@ echo "Message body here" | himalaya message write \
|
||||
- The editor opens with a template; fill in headers and body.
|
||||
- Save and exit the editor to send; exit without saving to cancel.
|
||||
- MML parts are compiled to proper MIME when sending.
|
||||
- Use `--raw` with `message read` to see the raw MIME structure of received emails.
|
||||
|
||||
- Use `himalaya message export --full` to inspect the raw MIME structure of received emails.
|
||||
|
||||
Reference in New Issue
Block a user