Class: InertiaHanami::CLI::Commands::Install
- Inherits:
-
Hanami::CLI::Commands::App::Command
- Object
- Hanami::CLI::Commands::App::Command
- InertiaHanami::CLI::Commands::Install
- Defined in:
- lib/inertia_hanami/cli/commands/install.rb
Overview
hanami generate inertia:install - scaffolds the provider, middleware
wiring, layout, view helper, and a sample page for inertia_hanami.
Instance Method Summary collapse
Instance Method Details
#call(force:, framework:) ⇒ Object
21 22 23 24 25 |
# File 'lib/inertia_hanami/cli/commands/install.rb', line 21 def call(force:, framework:, **) InertiaHanami::Generators::InstallGenerator.new( fs: fs, inflector: inflector, out: out ).call(base_path: app.root, namespace: app.namespace, framework: framework, force: force) end |