Class: ViteRuby::CLI::Clobber

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/vite_ruby/cli/clobber.rb

Instance Method Summary collapse

Instance Method Details

#call(mode:) ⇒ Object



10
11
12
13
# File 'lib/vite_ruby/cli/clobber.rb', line 10

def call(mode:, **)
  ViteRuby.env["VITE_RUBY_MODE"] = mode
  ViteRuby.commands.clobber
end