lib/ronin/web/cli/commands/new/nokogiri.rb in ronin-web-1.0.2 vs lib/ronin/web/cli/commands/new/nokogiri.rb in ronin-web-2.0.0.rc1
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
#
-# Copyright (c) 2006-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2006-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# ronin-web is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@@ -25,11 +25,11 @@
module Web
class CLI
module Commands
class New < Command
#
- # Generates a new nokogiri Ruby script.
+ # Generates a new nokogiri Ruby script for parsing HTML/XML.
#
# ## Usage
#
# ronin-web new nokogiri [options] FILE
#
@@ -56,12 +56,12 @@
usage: 'URL'
},
desc: 'Optional URL for the script'
argument :file, required: true,
- desc: 'The file to create'
+ desc: 'The file to create'
- description 'Generates a new nokogiri Ruby script'
+ description 'Generates a new nokogiri Ruby script for parsing HTML/XML'
man_page 'ronin-web-new-nokogiri.1'
#
# Runs the `ronin-web new nokogiri` command.