Coherence v0.1.3 Mix.Tasks.Coherence.Clean
This task will clean most of the files installed by the mix coherence.install
task.
Examples
# Clean all the installed files
mix coherence.clean --all
# Clean only the installed view and template files
mix coherence.clean --views --templates
# Clean all but the models
mix coherence.clean --all --no-models
# Prompt once to confirm the removal
mix coherence.clean --all --confirm-once
The following options are supported:
--all
— clean all files--views
— clean view files--templates
— clean template files--models
— clean models files--controllers
— clean controller files--email
— clean email files--web
— clean the web/coherence_web.ex file--migrations
— clean the migration files--confirm-once
— confirm once before removing all selected files
Disable options:
--no-confirm
- don’t confirm before removing files