Skip to content

Commit b2d87b6

Browse files
committed
Clarify push command flows
1 parent 66ab2d6 commit b2d87b6

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

‎pkg/cmd/push.go‎

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,21 @@ import (
2121
var pushCmd = cli.Command{
2222
Name: "push",
2323
Aliases: []string{"pushes"},
24-
Usage: "Push an image to a registry",
24+
Usage: "Push images between Docker, Hypeman, and registries",
2525
ArgsUsage: "IMAGE [TARGET]",
26-
Description: `Push an image between Docker, Hypeman, and a remote registry.
26+
Description: `Push images between Docker, Hypeman, and remote registries.
2727
28-
With one argument, IMAGE is read from the local Docker daemon and uploaded to
29-
Hypeman. With TARGET, IMAGE must already exist in Hypeman and is pushed to the
30-
remote registry reference in TARGET.
28+
hypeman push IMAGE
29+
Upload IMAGE from the local Docker daemon into Hypeman.
3130
32-
Local Docker-daemon uploads can also be written explicitly as "push local":
33-
hypeman push local IMAGE [TARGET]
31+
hypeman push IMAGE TARGET
32+
Push an image already in Hypeman to TARGET. Waits for completion.
33+
34+
hypeman push --detach IMAGE TARGET
35+
Queue a remote push and return its ID.
36+
37+
Use "hypeman push local IMAGE [TARGET]" to make the local-upload flow explicit.
38+
The --detach flag applies to remote pushes, not local uploads.
3439
3540
Push jobs can be inspected while they run:
3641
hypeman push ls

0 commit comments

Comments
 (0)