Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
2e11f269
Commit
2e11f269
authored
Apr 14, 2016
by
Michelle Noorali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(home): add helm home command
parent
8afc2956
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
home.go
cmd/helm/home.go
+27
-0
No files found.
cmd/helm/home.go
0 → 100644
View file @
2e11f269
package
main
import
(
"fmt"
"github.com/spf13/cobra"
)
var
longHomeHelp
=
`
This command displays the location of HELM_HOME. This is where
any helm configuration files live.
`
var
homeCommand
=
&
cobra
.
Command
{
Use
:
"home"
,
Short
:
"Displays the location of HELM_HOME"
,
Long
:
longHomeHelp
,
Run
:
Home
,
}
func
init
()
{
RootCommand
.
AddCommand
(
homeCommand
)
}
func
Home
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
fmt
.
Println
(
"helm home was called"
)
}
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