Class: RSGem::CLI::Commands::New

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/rsgem/cli/commands/new.rb

Instance Method Summary collapse

Instance Method Details

#call(**options) ⇒ Object



26
27
28
29
30
# File 'lib/rsgem/cli/commands/new.rb', line 26

def call(**options)
  RSGem::Gem.new(gem_name: options[:gem_name],
                 ci_provider: options[:ci],
                 bundler_options: options[:bundler]).create
end