@oamm/textor 1.0.12 → 1.0.13

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
@@ -193,6 +193,22 @@ Move and rename sections safely. Textor performs **deep renaming**: if the featu
193
193
  pnpm textor move-section /old /new
194
194
  ```
195
195
 
196
+ ### rename
197
+ Rename a route, feature, or component. Ideal for correcting typos. Supports **deep renaming** and optional repo-wide import updates.
198
+
199
+ ```bash
200
+ # Rename a route (URL)
201
+ pnpm textor rename route /lgoin /login
202
+
203
+ # Rename a feature module (includes internal files and component names)
204
+ pnpm textor rename feature auth/lgoin auth/login
205
+
206
+ # Rename a shared component
207
+ pnpm textor rename component Header SiteHeader
208
+ ```
209
+
210
+ Use `--scan` to update imports across the entire project.
211
+
196
212
  ### remove-section / remove-component
197
213
  Safely remove Textor-managed modules.
198
214