Class: KStarter::Starters::Svelte

Inherits:
Base
  • Object
show all
Defined in:
lib/k_starter/starters/svelte.rb

Overview

Generate command line for a new ruby gem project.

Instance Attribute Summary

Attributes inherited from Base

#code_open_delay, #project

Instance Method Summary collapse

Methods inherited from Base

#ask_destroy_existing_project, #ask_exit_if_project_exists, #create_kbuilder, #exiting, #initialize, #project_open_in_vscode, #project_path_delete, #project_path_exist?, #system_in_project, #system_in_root

Methods included from TtyHelpers

#command, #config, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which

Constructor Details

This class inherits a constructor from KStarter::Starters::Base

Instance Method Details

#executeObject



23
24
25
26
27
28
# File 'lib/k_starter/starters/svelte.rb', line 23

def execute
  create_app
  create_kbuilder

  project_open_in_vscode
end