This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding more stuff to the repo renderer func
- Loading branch information
1 parent
a70fdd8
commit a391027
Showing
4 changed files
with
270 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package reporender | ||
|
||
import ( | ||
"fmt" | ||
"github.com/PatrickLaabs/frigg/cmd" | ||
"github.com/PatrickLaabs/frigg/cmd/frigg/bootstrap/capd/reporender" | ||
"github.com/PatrickLaabs/frigg/pkg/log" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
// NewCommand returns a new cobra.Command for cluster creation | ||
func NewCommand(logger log.Logger, streams cmd.IOStreams) *cobra.Command { | ||
c := &cobra.Command{ | ||
Args: cobra.NoArgs, | ||
Use: "reporender", | ||
Short: "reporender", | ||
Long: "reporender", | ||
RunE: func(cmd *cobra.Command, args []string) error { | ||
|
||
fmt.Println("reporender") | ||
|
||
reporender.FullStage() | ||
|
||
return nil | ||
}, | ||
} | ||
return c | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters