Class: Jets::Commands::Import::Base
- Defined in:
- lib/jets/commands/import/base.rb
Class Method Summary collapse
-
.cli_options ⇒ Object
Ugly, but when the class_option is only defined in the Thor::Group class it doesnt show up with jets new help :( If anyone knows how to fix this let me know..
Instance Method Summary collapse
-
#setup ⇒ Object
Since setup is public it will automatically run in the subclasses.
Methods inherited from Sequence
Class Method Details
.cli_options ⇒ Object
Ugly, but when the class_option is only defined in the Thor::Group class it doesnt show up with jets new help :( If anyone knows how to fix this let me know.
6 7 8 9 10 |
# File 'lib/jets/commands/import/base.rb', line 6 def self. [ [:submodule, type: :boolean, default: false, desc: "Imports the project as a submodule"], ] end |
Instance Method Details
#setup ⇒ Object
Since setup is public it will automatically run in the subclasses
14 15 16 17 18 19 |
# File 'lib/jets/commands/import/base.rb', line 14 def setup create_rack_folder configure_ruby create_rackup_wrappers end |