From 5f93ddf2d18a64f2bd8c0ce8dd17546ee2c81210 Mon Sep 17 00:00:00 2001 From: Dayuan Date: Tue, 19 Mar 2024 17:59:27 +0800 Subject: [PATCH] feat: support command `mod init` --- pkg/cmd/mod/mod_init.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/mod/mod_init.go b/pkg/cmd/mod/mod_init.go index 717511d7..db59c748 100644 --- a/pkg/cmd/mod/mod_init.go +++ b/pkg/cmd/mod/mod_init.go @@ -21,13 +21,13 @@ type InitOptions struct { } var example = i18n.T(`# Create a kusion module template in the current directory - kusion mod init my-app + kusion mod init my-module # Init a kusion module at the specified Path - kusion mod init my-app ./modules + kusion mod init my-module ./modules # Init a module from a remote git template repository - kusion mod init my-app --template https://github.com//`) + kusion mod init my-module --template https://github.com//`) var short = i18n.T("Create a kusion module along with common files and directories in the current directory") const (