Sha256: dfbcfebf59866df6f45f716170144d8d37e7fd948ea1da427a1d147f0f35be22
Contents?: true
Size: 1.19 KB
Versions: 50
Compression:
Stored size: 1.19 KB
Contents
module HammerCLIForeman class Model < HammerCLIForeman::Command resource :models class ListCommand < HammerCLIForeman::ListCommand output do field :id, _("Id") field :name, _("Name") field :vendor_class, _("Vendor class") field :hardware_model, _("HW model") end build_options end class InfoCommand < HammerCLIForeman::InfoCommand output ListCommand.output_definition do field :info, _("Info") HammerCLIForeman::References.timestamps(self) end build_options end class CreateCommand < HammerCLIForeman::CreateCommand success_message _("Hardware model created.") failure_message _("Could not create the hardware model") build_options end class DeleteCommand < HammerCLIForeman::DeleteCommand success_message _("Hardware model deleted.") failure_message _("Could not delete the hardware model") build_options end class UpdateCommand < HammerCLIForeman::UpdateCommand success_message _("Hardware model updated.") failure_message _("Could not update the hardware model") build_options end autoload_subcommands end end
Version data entries
50 entries across 50 versions & 1 rubygems