Skip to content

Commit fe4f53e

Browse files
committed
enable init command
1 parent f760c14 commit fe4f53e

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎commands.go‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ func init() {
5252
}, nil
5353
},
5454

55+
"init": func() (cli.Command, error) {
56+
return &command.InitCommand{
57+
Meta: meta,
58+
}, nil
59+
},
60+
5561
"output": func() (cli.Command, error) {
5662
return &command.OutputCommand{
5763
Meta: meta,

‎website/source/layouts/docs.erb‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@
5959
<a href="/docs/commands/get.html">get</a>
6060
</li>
6161

62-
<li<%= sidebar_current("docs-commands-init") %>>
63-
<a href="/docs/commands/init.html">init</a>
64-
</li>
65-
6662
<li<%= sidebar_current("docs-commands-graph") %>>
6763
<a href="/docs/commands/graph.html">graph</a>
6864
</li>
6965

66+
<li<%= sidebar_current("docs-commands-init") %>>
67+
<a href="/docs/commands/init.html">init</a>
68+
</li>
69+
7070
<li<%= sidebar_current("docs-commands-output") %>>
7171
<a href="/docs/commands/output.html">output</a>
7272
</li>

0 commit comments

Comments
 (0)