Class: Neetob::CLI::Github::Commands

Inherits:
Thor
  • Object
show all
Defined in:
lib/neetob/cli/github/commands.rb

Instance Method Summary collapse

Instance Method Details

#brakemanObject



63
64
65
# File 'lib/neetob/cli/github/commands.rb', line 63

def brakeman
  Brakeman.new(options[:repos], options[:sandbox]).run
end

#loginObject



40
41
42
# File 'lib/neetob/cli/github/commands.rb', line 40

def 
  Login.new
end

#protect_branchObject



53
54
55
56
# File 'lib/neetob/cli/github/commands.rb', line 53

def protect_branch
  ProtectBranch.new(
    options[:branch], options[:repos], options[:path], options[:sandbox]).run
end

#searchObject



35
36
37
# File 'lib/neetob/cli/github/commands.rb', line 35

def search
  Search.new(options[:repos], options[:keyword], options[:path], options[:replace], options[:sandbox]).run
end