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

#loginObject



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

def 
  Login.new
end

#protect_branchObject



46
47
48
49
50
# File 'lib/neetob/cli/github/commands.rb', line 46

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

#searchObject



29
30
31
# File 'lib/neetob/cli/github/commands.rb', line 29

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