Class: MtTool::CLI
- Inherits:
-
Thor
- Object
- Thor
- MtTool::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/mt_tool/commands.rb
Instance Method Summary collapse
- #create(path = nil) ⇒ Object
- #generate(path = nil, name, lang, class_prefix, author) ⇒ Object
- #generateViperModule(name, author, path) ⇒ Object
- #model_class(prefix, name, path, output_path) ⇒ Object
- #qt_model_class(prefix, name, path, output_path) ⇒ Object
Instance Method Details
#create(path = nil) ⇒ Object
21 22 23 24 |
# File 'lib/mt_tool/commands.rb', line 21 def create(path = nil) Module.new(self .args,self . ).create(path) end |
#generate(path = nil, name, lang, class_prefix, author) ⇒ Object
14 15 16 |
# File 'lib/mt_tool/commands.rb', line 14 def generate(path = nil, name, lang, class_prefix, ) Module.new(self .args,self .).generate(path, name, lang, class_prefix, ) end |
#generateViperModule(name, author, path) ⇒ Object
29 30 31 |
# File 'lib/mt_tool/commands.rb', line 29 def generateViperModule(name,, path ) Module.new(self .args,self .).create_viper_module(path, name, "swift","", ) end |