Class: Nit::App

Inherits:
Thor
  • Object
show all
Includes:
Actions
Defined in:
lib/nit/app.rb

Instance Method Summary collapse

Instance Method Details

#commit(*args) ⇒ Object



34
35
36
# File 'lib/nit/app.rb', line 34

def commit(*args)
  puts Command::Commit.new(config).call(args)
end

#ignore(*args) ⇒ Object



39
40
41
# File 'lib/nit/app.rb', line 39

def ignore(*args)
  puts Command::Ignore.new(config).call(args)
end

#pull(*args) ⇒ Object



49
50
51
# File 'lib/nit/app.rb', line 49

def pull(*args)
  puts Command::Pull.new(config).call(args)
end

#push(*args) ⇒ Object



54
55
56
# File 'lib/nit/app.rb', line 54

def push(*args)
  puts Command::Push.new(config).call(args)
end

#status(*args) ⇒ Object



29
30
31
# File 'lib/nit/app.rb', line 29

def status(*args)
  puts Command::Status.new(config).call(args)
end

#unignore(*args) ⇒ Object



44
45
46
# File 'lib/nit/app.rb', line 44

def unignore(*args)
  puts Command::Unignore.new(config).call(args)
end