Class: ExtJS::CLI
- Inherits:
-
Thor
- Object
- Thor
- ExtJS::CLI
- Defined in:
- lib/extjs/cli.rb
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #install(path) ⇒ Object
Constructor Details
Instance Method Details
#install(path) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/extjs/cli.rb', line 9 def install(path) raise ExtJS::InstallError.new("Please specify github OR cachefly") if .cachefly? and .github? if .cachefly? ExtJS.ui.warn('loading from cachefly') elsif .github? ExtJS.ui.warn('loading from github') end ExtJS.ui.confirm('install') end |