diff --git a/console/commands/bean.go b/console/commands/bean.go index dd1b3b5..532d8f0 100644 --- a/console/commands/bean.go +++ b/console/commands/bean.go @@ -40,6 +40,11 @@ func (BeanCommand) Configure() command.Configure { Description: "跳过目录", Default: "@root/generate", }, + { + Name: "skip", + Description: "跳过目录", + Default: "@root/vendor", + }, }, }, } diff --git a/go.mod b/go.mod index 043d85d..0e6f2fe 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/go-home-admin/toolset go 1.16 require ( - github.com/ctfang/command v1.0.1 + github.com/ctfang/command v1.0.3 github.com/go-home-admin/home v0.4.14 github.com/go-sql-driver/mysql v1.6.0 github.com/joho/godotenv v1.4.0 diff --git a/go.sum b/go.sum index 73e01e2..0eeba45 100644 --- a/go.sum +++ b/go.sum @@ -5,8 +5,8 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/ctfang/command v1.0.1 h1:e3GA3c68h153zs/AtTslY1+HpXMzrGkUqA8R4Qj9dtg= -github.com/ctfang/command v1.0.1/go.mod h1:iWJcUCwZReswQ7T5IaRE6ZvGzZ/m9v53Z1na20JttV8= +github.com/ctfang/command v1.0.3 h1:pKL+M87T9W9EINVZ/Uzd1CSSZiDhoI/QXORhdsXBwjo= +github.com/ctfang/command v1.0.3/go.mod h1:iWJcUCwZReswQ7T5IaRE6ZvGzZ/m9v53Z1na20JttV8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=