Skip to content

Commit aedf0f9

Browse files
committed
fix: Add options for the password generator #1
1 parent 8d9994f commit aedf0f9

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,32 @@ RandomGen is a powerful PowerToys Run plugin that generates various types of ran
173173
5. Type `rd` followed by what you want to generate (e.g., `rd password`)
174174
6. Best practice: Press the Space button to regenerate a new value.
175175

176+
## 📋 Changelog
177+
178+
### v1.0.2 - Enhanced Password Generator Options
179+
![Password Generator Options](assets/demo-password-options.png)
180+
181+
1. **Enhanced Option Syntax Support**
182+
- Now supports multiple ways to specify options:
183+
- Exclusion: `-upper`, `-special`, `-numeric`, `-lower`
184+
- Inclusion: `+upper`, `+special`, `+numeric`, `+lower`
185+
- Natural language: `noupper`, `no-special`, `nonumbers`
186+
187+
2. **Better Error Handling**
188+
- Ensures at least one character type is always enabled
189+
- Handles edge cases where all types are disabled
190+
- Validates password length accommodates required character types
191+
192+
3. **Improved Display**
193+
- Better subtitle showing what's excluded: (16 chars, no upper,special)
194+
- Clearer option descriptions in tooltips
195+
196+
4. **Usage Examples**
197+
- `rd password 16 -special` → 16-char password without symbols
198+
- `rd password 22 -numeric` → 22-char password without numbers
199+
- `rd pwd 12 -upper -special` → 12-char password with only lowercase + numbers
200+
- `rd password 20 noupper` → 20-char password without uppercase letters
201+
176202
## 🔍 Usage
177203

178204
### Basic Commands

assets/demo-password-options.png

12.8 KB
Loading

0 commit comments

Comments
 (0)