lib/ronin/ui/cli/commands/urls.rb in ronin-1.0.0 vs lib/ronin/ui/cli/commands/urls.rb in ronin-1.1.0.rc1
- old
+ new
@@ -15,22 +15,22 @@
#
# You should have received a copy of the GNU General Public License
# along with Ronin. If not, see <http://www.gnu.org/licenses/>.
#
-require 'ronin/ui/cli/model_command'
+require 'ronin/ui/cli/resources_command'
require 'ronin/url'
module Ronin
module UI
module CLI
module Commands
#
# The `ronin-urls` command.
#
- class URLs < ModelCommand
+ class URLs < ResourcesCommand
- self.model = URL
+ model URL
query_option :http, :type => :boolean
query_option :https, :type => :boolean
query_option :hosts, :type => :array,