Sha256: a9fe57254ca0fea310c472ea132f318eaa2491256a4fc5b8c87e6b974a89f797
Contents?: true
Size: 439 Bytes
Versions: 20
Compression:
Stored size: 439 Bytes
Contents
command :delete do |c| c.summary = 'Delete a host in your provider account' c.syntax = 'ops delete [DNS_name]' c.description = "Delete the host, based on DNS_name, which (not need but) should be described in its #{Ops::HOSTS_DIR}/[DNS_name].yml file " c.example 'Delete the host example.com in your DigitalOcean console', 'ops delete example.com' c.action do |args, options| host = Host.new args[0] host.delete end end
Version data entries
20 entries across 20 versions & 1 rubygems