fluke/devops-client/lib/devops-client/options/key_options.rb
GGA Software Services LLC 02bf8b1bba initial commit
2014-05-08 17:06:06 +04:00

15 lines
341 B
Ruby

require "devops-client/options/common_options"
class KeyOptions < CommonOptions
commands :add, :delete, :list
def initialize args, def_options
super(args, def_options)
self.header = I18n.t("headers.key")
self.banner_header = "key"
self.add_params = ["KEY_NAME", "FILE"]
self.delete_params = ["KEY_NAME"]
end
end