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
run_go_with_janked_package
end
|
#clean_command ⇒ Object
19
20
21
|
# File 'lib/go_command.rb', line 19
def clean_command
run_go_with_janked_package
end
|
#env_command ⇒ Object
23
24
25
|
# File 'lib/go_command.rb', line 23
def env_command
run_go
end
|
#fix_command ⇒ Object
27
28
29
|
# File 'lib/go_command.rb', line 27
def fix_command
run_go_with_janked_package
end
|
#fmt_command ⇒ Object
31
32
33
|
# File 'lib/go_command.rb', line 31
def fmt_command
run_go_with_janked_package
end
|
#generate_command ⇒ Object
39
40
41
|
# File 'lib/go_command.rb', line 39
def generate_command
run_go_with_janked_package
end
|
#get_command ⇒ Object
43
44
45
|
# File 'lib/go_command.rb', line 43
def get_command
run_go
end
|
#help ⇒ Object
35
36
37
|
# File 'lib/go_command.rb', line 35
def help
run_go
end
|
#install_command ⇒ Object
47
48
49
|
# File 'lib/go_command.rb', line 47
def install_command
run_go_with_janked_package
end
|
#list_command ⇒ Object
51
52
53
54
|
# File 'lib/go_command.rb', line 51
def list_command
@janker.link
run_go_with_janked_package
end
|
#run_command ⇒ Object
56
57
58
|
# File 'lib/go_command.rb', line 56
def run_command
run_go
end
|
#run_go ⇒ Object
5
6
7
8
|
# File 'lib/go_command.rb', line 5
def run_go
@janker.link
@exec.go(@args)
end
|
#run_go_with_janked_package ⇒ Object
10
11
12
13
|
# File 'lib/go_command.rb', line 10
def run_go_with_janked_package
@janker.link
@exec.go( @exec.apply_package(@args) )
end
|
#test_command ⇒ Object
60
61
62
|
# File 'lib/go_command.rb', line 60
def test_command
run_go_with_janked_package
end
|
64
65
66
|
# File 'lib/go_command.rb', line 64
def tool_command
run_go
end
|
#version_command ⇒ Object
68
69
70
|
# File 'lib/go_command.rb', line 68
def version_command
run_go
end
|
#vet_command ⇒ Object
72
73
74
|
# File 'lib/go_command.rb', line 72
def vet_command
run_go_with_janked_package
end
|