Class: MetaModel::Command::Clean
- Inherits:
-
MetaModel::Command
- Object
- CLAide::Command
- MetaModel::Command
- MetaModel::Command::Clean
- Defined in:
- lib/metamodel/command/clean.rb
Constant Summary
Constants inherited from MetaModel::Command
METAMODEL_COMMAND_ALIAS, METAMODEL_OPTION_ALIAS
Instance Method Summary collapse
-
#initialize(argv) ⇒ Clean
constructor
A new instance of Clean.
- #run ⇒ Object
Methods inherited from MetaModel::Command
#installer_for_config, options, run
Methods included from MetaModel::Config::Mixin
Constructor Details
#initialize(argv) ⇒ Clean
Returns a new instance of Clean.
13 14 15 |
# File 'lib/metamodel/command/clean.rb', line 13 def initialize(argv) super end |
Instance Method Details
#run ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/metamodel/command/clean.rb', line 17 def run UI.section "Removing MetaModel project" do FileUtils.rm_rf 'MetaModel' FileUtils.rm_rf 'MetaModel.framework' UI. "Already clean up the whole MetaModel project from current folder" end end |