denji clear
Remove all icons from your project
Remove all icons from the project.
Usage
denji clear [options]Options
--yes
Type: boolean
Alias: -y
Skip confirmation prompt.
denji clear --yesExamples
Clear with confirmation:
denji clearOutput:
? Are you sure you want to remove all icons? (y/N)Clear without confirmation:
denji clear --yesHow It Works
- Shows confirmation prompt (unless
--yesis used) - Removes all icons from icons file
- Resets to empty template
- Runs
postClearhooks (if configured)
This action cannot be undone. Make sure to commit your changes before clearing.
After Clearing
The icons file is reset to:
export const Icons = {};You can start fresh by adding new icons:
denji add lucide:check