Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

bem remove command #369

Closed
bariscicek opened this issue Apr 8, 2013 · 0 comments
Closed

bem remove command #369

bariscicek opened this issue Apr 8, 2013 · 0 comments
Labels

Comments

@bariscicek
Copy link

bem-tools should have a functionality to remove entities in bem tree.
Proposed command should remove entities using the same options as the bem create command.

bem remove --level level1 block__elem_mod 

kind of usage should also work.

Removed entities should be moved to .attic directory on the root of level dir for backup. --force should remove the entity without moving to .attic. Restoring from backup should be a manual work.

bem remove --purge 

should remove the .attic directory of all levels. If level specified only specific level is cleared.

bariscicek pushed a commit to bariscicek/bem-tools that referenced this issue Apr 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants