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
9654e63d
Commit
9654e63d
authored
Dec 10, 2015
by
Brendan Melville
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #162 from vaikas-google/master
Clean up the printing of the types, show the short url
parents
5ca2eb00
4c517d7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
dm.go
dm/dm.go
+7
-2
No files found.
dm/dm.go
View file @
9654e63d
...
...
@@ -122,9 +122,14 @@ func execute() {
fmt
.
Printf
(
"Templates:
\n
"
)
for
_
,
t
:=
range
templates
{
fmt
.
Printf
(
"%s:%s
\n
"
,
t
.
Name
,
t
.
Version
)
var
typeSpec
=
""
if
len
(
t
.
Collection
)
>
0
{
typeSpec
=
t
.
Collection
+
"/"
}
typeSpec
=
typeSpec
+
t
.
Name
+
":"
+
t
.
Version
fmt
.
Printf
(
"%s
\n
"
,
typeSpec
)
downloadURL
:=
getDownloadUrl
(
t
)
fmt
.
Printf
(
"
\t
short URL: github.com/%s/%s
\n
"
,
*
template_registry
,
typeSpec
)
fmt
.
Printf
(
"
\t
download URL: %s
\n
"
,
downloadURL
)
}
case
"describe"
:
...
...
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