lib/ronin/cli.rb in ronin-2.0.5 vs lib/ronin/cli.rb in ronin-2.1.0.rc1
- old
+ new
@@ -15,10 +15,11 @@
# You should have received a copy of the GNU General Public License
# along with Ronin. If not, see <https://www.gnu.org/licenses/>.
#
require 'ronin/version'
+require 'ronin/core/cli/help/banner'
require 'command_kit/commands'
require 'command_kit/commands/auto_load'
require 'command_kit/options/version'
@@ -36,26 +37,35 @@
include CommandKit::Commands::AutoLoad.new(
dir: "#{__dir__}/cli/commands",
namespace: "#{self}::Commands"
)
include CommandKit::Options::Version
+ include Core::CLI::Help::Banner
command_name 'ronin'
version Ronin::VERSION
command_aliases['enc'] = 'encode'
command_aliases['dec'] = 'decode'
command_aliases['nc'] = 'netcat'
+ command_aliases['tlds'] = 'tld-list'
+ command_aliases['public-suffixes'] = 'public-suffix-list'
+
# Additional `ronin-` commands to checkout.
ADDITIONAL_RONIN_COMMANDS = %w[
ronin-repos
+ ronin-wordlists
ronin-db
ronin-web
ronin-fuzzer
+ ronin-masscan
+ ronin-nmap
+ ronin-recon
ronin-payloads
ronin-exploits
ronin-vulns
+ ronin-app
]
#
# Prints the regular `--help` output but also lists other `ronin-*`
# commands.