Skip to content

Commit

Permalink
Merge pull request #77 from Peefy/fix-completion-cmd
Browse files Browse the repository at this point in the history
fix completion cmd which is not a plugin command
  • Loading branch information
Peefy authored May 11, 2024
2 parents dabaa74 + 4da08ff commit f5e431d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.8
0.8.9
2 changes: 1 addition & 1 deletion cmd/kcl/commands/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func bootstrapCmdPlugin(cmd *cobra.Command, pluginHandler plugin.PluginHandler)
}
switch cmdName {
// Don't search for a plugin
case "help", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
case "help", "completion", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
default:
if !builtinSubCmdExist {
if err := plugin.HandlePluginCommand(pluginHandler, cmdPathPieces, false); err != nil {
Expand Down
3 changes: 2 additions & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ func getVersion(version string) string {
}

const (
VersionTypeLatest = Version_0_8_8
VersionTypeLatest = Version_0_8_9

Version_0_8_9 VersionType = "0.8.9"
Version_0_8_8 VersionType = "0.8.8"
Version_0_8_7 VersionType = "0.8.7"
Version_0_8_6 VersionType = "0.8.6"
Expand Down

0 comments on commit f5e431d

Please sign in to comment.