# frozen_string_literal: true module VagrantPlugins module ProfitBricks module Command class ListServers < Vagrant.plugin('2', :command) def execute p 'Garegaer' options = {} opts = OptionParser.new do |o| o.banner = 'Usage: vagrant profitbricks servers [options]' end argv = parse_options(opts) return unless argv with_target_vms(argv, provider: :profitbricks) do |machine| machine.action('list_servers') end end end end end end