Class: Cli::Commands::NewApp::Execute

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/commands/new_app/execute.rb

Class Method Summary collapse

Class Method Details

.call(app_name:) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/cli/commands/new_app/execute.rb', line 9

def self.call(app_name:)
  BaseDirectories.call
  Files::App.call(app_name)
  Files::ConfigRu.call(app_name)
  Files::DbRake.call(app_name)
  Files::Irbrc.call
  Files::Rakefile.call
  Files::Routes.call(app_name)
  Files::SorbetConfig.call

  Kirei::Logging::Logger.logger.info(
    "Kirei app '#{app_name}' scaffolded successfully!",
  )
end