class Google::Idtoken::Verifier::CLI::Commands::Base

Base for all commands providing simple support for running a single command and printing to an {Out} instance

Public Class Methods

run(*args) click to toggle source

Run a single instance of a command @param args [Array] arguments for the command @return [Base] the command after the run

# File lib/google/idtoken/verifier/cli/commands.rb, line 15
def self.run(*args)
  new(*args).tap(&:run)
end

Protected Instance Methods

out() click to toggle source
# File lib/google/idtoken/verifier/cli/commands.rb, line 21
def out
  @out ||= Out.new
end