Sha256: 9160d3c6fe1b7c0ef8362d3c5d2ab0e92c6686171fb5329a1c92ae3bab3fa161
Contents?: true
Size: 1.27 KB
Versions: 49
Compression:
Stored size: 1.27 KB
Contents
module HammerCLIForeman class Architecture < HammerCLIForeman::Command resource :architectures class ListCommand < HammerCLIForeman::ListCommand output do field :id, _("Id") field :name, _("Name") end build_options end class InfoCommand < HammerCLIForeman::InfoCommand output ListCommand.output_definition do HammerCLIForeman::References.operating_systems(self) HammerCLIForeman::References.taxonomies(self) HammerCLIForeman::References.timestamps(self) end build_options end class CreateCommand < HammerCLIForeman::CreateCommand success_message _("Architecture created.") failure_message _("Could not create the architecture") build_options end class DeleteCommand < HammerCLIForeman::DeleteCommand success_message _("Architecture deleted.") failure_message _("Could not delete the architecture") build_options end class UpdateCommand < HammerCLIForeman::UpdateCommand success_message _("Architecture updated.") failure_message _("Could not update the architecture") build_options end HammerCLIForeman::AssociatingCommands::OperatingSystem.extend_command(self) autoload_subcommands end end
Version data entries
49 entries across 49 versions & 1 rubygems