Skip to content

Commit

Permalink
fix(cloud): Correct example on how to provide arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Jan 14, 2025
1 parent 76cac9b commit 662588e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/cli/kraft/cloud/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@ func NewCmd() *cobra.Command {
# Supply arguments to the instance of the existing image
$ kraft cloud --metro fra0 deploy -p 443:8080 caddy:latest -- /bin/server --debug
# Supply arguments to the instance of the project (overriding the cmd):
# Supply arguments to the instance of the project (appending to the cmd):
$ kraft cloud --metro fra0 deploy -p 443:8080 . -- /bin/server --debug
# Supply arguments to the instance of the project (overwriting the cmd):
$ kraft cloud --metro fra0 deploy -p 443:8080 --entrypoint "/bin/server --debug" .
# Immediately start following the log tail
$ kraft cloud --metro fra0 deploy -p 443:8080 -f caddy:latest
`),
Expand Down

0 comments on commit 662588e

Please sign in to comment.