Skip to content

Commit

Permalink
Compose 2.26.1: new watch
Browse files Browse the repository at this point in the history
  • Loading branch information
matt9ucci committed Apr 8, 2024
1 parent f54ef17 commit f42adb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DockerCompletion/Compose/completers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Register-Completer docker_compose {
COMPGEN up SubCommand 'Create and start containers'
COMPGEN version SubCommand 'Show the Docker Compose version information'
COMPGEN wait SubCommand 'Block until the first service container stops'
COMPGEN watch SubCommand 'Watch build context for service and rebuild/refresh containers when files are updated'
}

Register-Completer docker_compose -Option {
Expand Down Expand Up @@ -308,3 +309,9 @@ Register-Completer docker_compose_version -Option {
Register-Completer docker_compose_wait -Option {
COMPGEN --down-project Switch 'Drops project when the first container stops'
}

Register-Completer docker_compose_watch -Option {
COMPGEN --dry-run Switch 'Execute command in dry run mode'
COMPGEN --no-up Switch 'Do not build & start services before watching'
COMPGEN --quiet Switch 'hide build output'
}

0 comments on commit f42adb6

Please sign in to comment.