Class: Nutella::Reset
Instance Method Summary collapse
Instance Method Details
#run(args = nil) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/commands/reset.rb', line 7 def run(args=nil) if system "rm -rf $HOME/.nutella" console.success "Successfully reset nutella to factory settings" else console.error 'Whoops...something went wrong while resetting nutella to factory settings' end end |