Class: Jank::GoCommand
Instance Method Summary
collapse
Methods inherited from Command
#dispatch, #initialize
Constructor Details
This class inherits a constructor from Jank::Command
Instance Method Details
#build_command ⇒ Object
15
16
17
|
# File 'lib/go_command.rb', line 15
def build_command
go_sync
end
|
#clean_command ⇒ Object
19
20
21
|
# File 'lib/go_command.rb', line 19
def clean_command
go_sync
end
|
#env_command ⇒ Object
23
24
25
|
# File 'lib/go_command.rb', line 23
def env_command
go
end
|
#fix_command ⇒ Object
27
28
29
|
# File 'lib/go_command.rb', line 27
def fix_command
go_sync
end
|
#fmt_command ⇒ Object
31
32
33
|
# File 'lib/go_command.rb', line 31
def fmt_command
go_sync
end
|
#generate_command ⇒ Object
39
40
41
|
# File 'lib/go_command.rb', line 39
def generate_command
go_sync
end
|
#get_command ⇒ Object
43
44
45
|
# File 'lib/go_command.rb', line 43
def get_command
run_go
end
|
#go ⇒ Object
5
6
7
|
# File 'lib/go_command.rb', line 5
def go
@exec.go(@args)
end
|
#go_sync ⇒ Object
9
10
11
12
13
|
# File 'lib/go_command.rb', line 9
def go_sync
@janker.link
@exec.go(@args)
@janker.sync_results
end
|
#help ⇒ Object
35
36
37
|
# File 'lib/go_command.rb', line 35
def help
go
end
|
#install_command ⇒ Object
47
48
49
|
# File 'lib/go_command.rb', line 47
def install_command
go_sync
end
|
#list_command ⇒ Object
51
52
53
|
# File 'lib/go_command.rb', line 51
def list_command
go_sync
end
|
#run_command ⇒ Object
55
56
57
|
# File 'lib/go_command.rb', line 55
def run_command
go_sync
end
|
#test_command ⇒ Object
59
60
61
|
# File 'lib/go_command.rb', line 59
def test_command
go_sync
end
|
63
64
65
|
# File 'lib/go_command.rb', line 63
def tool_command
run_go
end
|
#version_command ⇒ Object
67
68
69
|
# File 'lib/go_command.rb', line 67
def version_command
go
end
|
#vet_command ⇒ Object
71
72
73
|
# File 'lib/go_command.rb', line 71
def vet_command
go_sync
end
|