Skip to content

Commit

Permalink
Move ko commands to pkg/commands (ko-build#29)
Browse files Browse the repository at this point in the history
* Move commands to pkg/commands and split into files.
  • Loading branch information
n3wscott authored and jonjohnsonjr committed Apr 26, 2019
1 parent fba1d3d commit 6f9fb7f
Show file tree
Hide file tree
Showing 12 changed files with 455 additions and 309 deletions.
304 changes: 0 additions & 304 deletions cmd/ko/commands.go

This file was deleted.

3 changes: 2 additions & 1 deletion cmd/ko/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package main

import (
"github.com/google/ko/pkg/commands"
"log"

"github.com/spf13/cobra"
Expand All @@ -29,7 +30,7 @@ func main() {
cmd.Help()
},
}
addKubeCommands(cmds)
commands.AddKubeCommands(cmds)

if err := cmds.Execute(); err != nil {
log.Fatalf("error during command execution: %v", err)
Expand Down
Loading

0 comments on commit 6f9fb7f

Please sign in to comment.