# File lib/hammer_cli_foreman/commands.rb, line 155 def get_resource_ids(resource, options={}) opts = resolver.scoped_options(resource.singular_name, all_options) begin resolver.send("#{resource.singular_name}_ids", opts) rescue HammerCLIForeman::MissingSeachOptions => e raise e unless (options[:required] == false) end end