@btcemail/cli 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Command-line interface for btc.email - spam-free email powered by Bitcoin Lightning.
4
4
 
5
- Current version: 0.3.0 (December 28, 2025)
5
+ Current version: 0.4.0 (December 28, 2025)
6
6
 
7
7
  ## Installation
8
8
 
@@ -105,6 +105,82 @@ btcemail credits purchase # Shows options
105
105
  btcemail credits purchase --option 1 --wait
106
106
  ```
107
107
 
108
+ ### Settings
109
+
110
+ ```bash
111
+ # Show current settings
112
+ btcemail settings # or: btcemail settings show
113
+
114
+ # Set email price in sats
115
+ btcemail settings pricing 100
116
+
117
+ # Toggle payment requirement
118
+ btcemail settings require-payment on
119
+ btcemail settings require-payment off
120
+
121
+ # Toggle auto-whitelist after payment
122
+ btcemail settings auto-whitelist on
123
+ btcemail settings auto-whitelist off
124
+
125
+ # Set custom auto-reply message
126
+ btcemail settings auto-reply "Thanks for your email!"
127
+ btcemail settings auto-reply --clear # Reset to default
128
+ ```
129
+
130
+ ### Whitelist
131
+
132
+ Manage senders who can email you for free.
133
+
134
+ ```bash
135
+ # List whitelist entries
136
+ btcemail whitelist # or: btcemail wl
137
+
138
+ # Add email or domain
139
+ btcemail whitelist add friend@example.com
140
+ btcemail whitelist add @company.com --note "Work contacts"
141
+
142
+ # Remove entry by ID
143
+ btcemail whitelist remove <entry-id>
144
+ ```
145
+
146
+ ### Blocklist
147
+
148
+ Manage blocked senders (silently rejected).
149
+
150
+ ```bash
151
+ # List blocklist entries
152
+ btcemail blocklist # or: btcemail bl
153
+
154
+ # Add email or domain
155
+ btcemail blocklist add spammer@example.com
156
+ btcemail blocklist add @spam.com --reason "Known spam domain"
157
+
158
+ # Remove entry by ID
159
+ btcemail blocklist remove <entry-id>
160
+ ```
161
+
162
+ ### Network
163
+
164
+ Switch between testnet and mainnet Lightning networks.
165
+
166
+ ```bash
167
+ # Show current network mode
168
+ btcemail network
169
+
170
+ # Switch to testnet (fake Bitcoin)
171
+ btcemail network testnet
172
+
173
+ # Switch to mainnet (real Bitcoin)
174
+ btcemail network mainnet
175
+ ```
176
+
177
+ ### Stats
178
+
179
+ ```bash
180
+ # Show dashboard statistics
181
+ btcemail stats
182
+ ```
183
+
108
184
  ## Options Reference
109
185
 
110
186
  ### list