Skip to content

Commit

Permalink
Merge pull request #1661 from rsteube/compose-v2.17.2
Browse files Browse the repository at this point in the history
docker-compose: updates from v2.17.2
  • Loading branch information
rsteube authored Apr 13, 2023
2 parents cf83fe7 + 30947c4 commit cad0b86
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions completers/docker-compose_completer/cmd/pause.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var pauseCmd = &cobra.Command{

func init() {
carapace.Gen(pauseCmd).Standalone()

rootCmd.AddCommand(pauseCmd)

carapace.Gen(pauseCmd).PositionalAnyCompletion(
Expand Down
4 changes: 3 additions & 1 deletion completers/docker-compose_completer/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ func Execute() error {

func init() {
carapace.Gen(rootCmd).Standalone()

rootCmd.Flags().String("ansi", "auto", "Control when to print ANSI control characters (\"never\"|\"always\"|\"auto\")")
rootCmd.Flags().Bool("compatibility", false, "Run compose in backward compatibility mode")
rootCmd.Flags().String("env-file", "", "Specify an alternate environment file.")
rootCmd.Flags().Bool("dry-run", false, "Execute command in dry run mode")
rootCmd.Flags().StringArray("env-file", []string{}, "Specify an alternate environment file.")
rootCmd.Flags().StringArrayP("file", "f", []string{}, "Compose configuration files")
rootCmd.Flags().Bool("no-ansi", false, "Do not print ANSI control characters (DEPRECATED)")
rootCmd.Flags().Int("parallel", -1, "Control max parallelism, -1 for unlimited")
Expand Down
1 change: 1 addition & 0 deletions completers/docker-compose_completer/cmd/top.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var topCmd = &cobra.Command{

func init() {
carapace.Gen(topCmd).Standalone()

rootCmd.AddCommand(topCmd)

carapace.Gen(topCmd).PositionalAnyCompletion(
Expand Down
1 change: 1 addition & 0 deletions completers/docker-compose_completer/cmd/unpause.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var unpauseCmd = &cobra.Command{

func init() {
carapace.Gen(unpauseCmd).Standalone()

rootCmd.AddCommand(unpauseCmd)

carapace.Gen(unpauseCmd).PositionalAnyCompletion(
Expand Down

0 comments on commit cad0b86

Please sign in to comment.