Sha256: 0b7438c3906a9603352c417cd53786ff7c6f538792f43fa54f2f56f2b9b2bb3b
Contents?: true
Size: 636 Bytes
Versions: 16
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true require "thor" require_relative "check" module Neetob class CLI module Redirections class Commands < Thor desc "check", "Check whether one URL is redirecting to another URL" option :source, type: :string, aliases: "-s", required: true, desc: "Source URL. Example: https://academy.bigbinary.com" option :destination, type: :string, aliases: "-d", required: true, desc: "Destination URL. Example: https://bigbinaryacademy.com" def check Check.new(options[:source], options[:destination], options[:sandbox]).run end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems