4 5 6 7 8 9 10
# File 'lib/dnsimple/commands/delete_template.rb', line 4 def execute(args, options={}) short_name = args.shift template = Template.find(short_name) template.delete puts "Deleted template #{short_name}" end