Skip to content

Commit

Permalink
Set cobra default output to stdout (yorkie-team#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
blurfx authored and Wu22e committed Sep 3, 2023
1 parent 34473e7 commit 2ae21c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/yorkie/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ func Run() int {
}

func init() {
rootCmd.SetOut(os.Stdout)
rootCmd.SetErr(os.Stderr)
rootCmd.AddCommand(project.SubCmd)
rootCmd.AddCommand(document.SubCmd)
rootCmd.AddCommand(context.SubCmd)
Expand Down

0 comments on commit 2ae21c8

Please sign in to comment.