Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
bde32e96
Commit
bde32e96
authored
Mar 24, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alphabetize
parent
b25bf0c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
packer/environment.go
packer/environment.go
+6
-6
No files found.
packer/environment.go
View file @
bde32e96
...
@@ -76,12 +76,6 @@ func (e *Environment) Cli(args []string) int {
...
@@ -76,12 +76,6 @@ func (e *Environment) Cli(args []string) int {
return
command
.
Run
(
e
,
args
)
return
command
.
Run
(
e
,
args
)
}
}
// Returns the UI for the environment. The UI is the interface that should
// be used for all communication with the outside world.
func
(
e
*
Environment
)
Ui
()
Ui
{
return
e
.
ui
}
// Prints the CLI help to the UI.
// Prints the CLI help to the UI.
func
(
e
*
Environment
)
PrintHelp
()
{
func
(
e
*
Environment
)
PrintHelp
()
{
// Created a sorted slice of the map keys and record the longest
// Created a sorted slice of the map keys and record the longest
...
@@ -113,3 +107,9 @@ func (e *Environment) PrintHelp() {
...
@@ -113,3 +107,9 @@ func (e *Environment) PrintHelp() {
e
.
ui
.
Say
(
" %v %v
\n
"
,
key
,
command
.
Synopsis
())
e
.
ui
.
Say
(
" %v %v
\n
"
,
key
,
command
.
Synopsis
())
}
}
}
}
// Returns the UI for the environment. The UI is the interface that should
// be used for all communication with the outside world.
func
(
e
*
Environment
)
Ui
()
Ui
{
return
e
.
ui
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment