Class: RailsCredentialsManager::CLI::Commands::Set

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

Instance Method Summary collapse

Instance Method Details

#call(key:, value:, environments:) ⇒ Object



46
47
48
# File 'lib/rails_credentials_manager/commands.rb', line 46

def call(key:, value:, environments:, **)
  RailsCredentialsManager::Set.new(environments).perform(key, value)
end