-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watch incremental #211
Watch incremental #211
Conversation
doc/user-guide/cli.md
Outdated
@@ -47,6 +47,12 @@ add the `--watch` flag. | |||
ploomber-cloud deploy --watch | |||
``` | |||
|
|||
You can also use the `--watch-incremental` flag to view only the newly added logs with every polling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this description is confusing it says "only the newly added logs", does that mean that --watch
will print all the logs on every update? (I don't think that's the case)
it's unclear wh I'd use one option over the other one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the gist of it is:
use --watch
if deploying from your terminal as it'll clear your screen
use --watch-incremental
if storing the deployment output into a file (e.g. github actions) as it won't attempt to clear the screen and only print new logs and status updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for missing the previous comment.
📚 Documentation preview 📚: https://ploomber-doc--211.org.readthedocs.build/en/211/