Skip to content

Commit f5e431d

Browse files
authored
Merge pull request #77 from Peefy/fix-completion-cmd
fix completion cmd which is not a plugin command
2 parents dabaa74 + 4da08ff commit f5e431d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.8
1+
0.8.9

cmd/kcl/commands/plugin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func bootstrapCmdPlugin(cmd *cobra.Command, pluginHandler plugin.PluginHandler)
5757
}
5858
switch cmdName {
5959
// Don't search for a plugin
60-
case "help", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
60+
case "help", "completion", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
6161
default:
6262
if !builtinSubCmdExist {
6363
if err := plugin.HandlePluginCommand(pluginHandler, cmdPathPieces, false); err != nil {

pkg/version/version.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ func getVersion(version string) string {
3232
}
3333

3434
const (
35-
VersionTypeLatest = Version_0_8_8
35+
VersionTypeLatest = Version_0_8_9
3636

37+
Version_0_8_9 VersionType = "0.8.9"
3738
Version_0_8_8 VersionType = "0.8.8"
3839
Version_0_8_7 VersionType = "0.8.7"
3940
Version_0_8_6 VersionType = "0.8.6"

0 commit comments

Comments
 (0)