Class: Cerebro::Command
- Inherits:
-
CLAide::Command
- Object
- CLAide::Command
- Cerebro::Command
- Defined in:
- lib/cerebro/command.rb,
lib/cerebro/command/clean.rb,
lib/cerebro/command/search.rb
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.run(argv) ⇒ Object
8 9 10 |
# File 'lib/cerebro/command.rb', line 8 def self.run(argv) super(argv) end |
Instance Method Details
#validate! ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/cerebro/command.rb', line 12 def validate! super if !Cerebro.storage_directory puts "You don't have $HOME set.\nCerebro currently relies on storing cloned fork repos in your home directory.\n HELP\n exit 1\n end\nend\n" |