Sha256: 743a2a8359a36a4a542a2f166baf490b8e2f217c0e7d73b85f7caf73ec640fe4
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
require "clamp" require "batcave/namespace" require "batcave/command/add" class BatCave::Command::Update < Clamp::Command parameter "ENVIRONMENT", "The environment to update (user, project, etc)", :attribute_name => :environment def execute store = BatCave::Store.new store.each(@environment) do |thing, settings| args = settings["args"] BatCave::Action::Add.new(thing, args).execute end end end
Version data entries
6 entries across 6 versions & 1 rubygems