diff --git a/cmd/root.go b/cmd/root.go index 40ebfd81..f641a609 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -78,6 +78,9 @@ func L(words string) string { return words } +// RootCmd export the rootCmd to support customized commands when use yao as lib +var RootCmd = rootCmd + var rootCmd = &cobra.Command{ Use: share.BUILDNAME, Short: "Yao App Engine",