feat: migrate from libcompose to compose-go (#1547)
* feat: migrate from libcompose to compose-go libcompose has been deprecated since summer 2021 in favor of https://github.com/compose-spec/compose-go. Kompose should now be able to load all versions of compose. * chore: replace golint with staticcheck golint has been deprecated. Recommended replacement is staticcheck.
This commit is contained in:
+4
-4
@@ -63,7 +63,7 @@ func init() {
|
||||
}
|
||||
|
||||
/*
|
||||
Fish shell auto-completion support
|
||||
Fish shell auto-completion support
|
||||
*/
|
||||
func runCompletionFish(out io.Writer, kompose *cobra.Command) error {
|
||||
kompose.GenFishCompletion(out, true)
|
||||
@@ -79,9 +79,9 @@ complete -c kompose -n "__fish_seen_subcommand_from completion" -a "bash zsh fis
|
||||
}
|
||||
|
||||
/*
|
||||
This is copied from
|
||||
https://github.com/kubernetes/kubernetes/blob/ea18d5c32ee7c320fe96dda6b0c757476908e696/pkg/kubectl/cmd/completion.go
|
||||
in order to generate ZSH completion support.
|
||||
This is copied from
|
||||
https://github.com/kubernetes/kubernetes/blob/ea18d5c32ee7c320fe96dda6b0c757476908e696/pkg/kubectl/cmd/completion.go
|
||||
in order to generate ZSH completion support.
|
||||
*/
|
||||
func runCompletionZsh(out io.Writer, kompose *cobra.Command) error {
|
||||
zshInitialization := `
|
||||
|
||||
Reference in New Issue
Block a user