-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When running deployctl deploy --project my-project main.ts
where previously printed lines cannot be replaced, deployctl
will cause a lot of spam. As an example, when running this command on Gitlab CI:
⠹ Uploading 1555 assets... (99.8%)
⠸ Uploading 1555 assets... (99.8%)
⠼ Uploading 1555 assets... (99.8%)
⠴ Uploading 1555 assets... (99.9%)
⠦ Uploading 1555 assets... (99.9%)
⠧ Uploading 1555 assets... (99.9%)
⠇ Uploading 1555 assets... (99.9%)
⠏ Uploading 1555 assets... (99.9%)
⠋ Uploading 1555 assets... (99.9%)
⠙ Uploading 1555 assets... (99.9%)
⠹ Uploading 1555 assets... (99.9%)
⠸ Uploading 1555 assets... (99.9%)
⠼ Uploading 1555 assets... (99.9%)
⠴ Uploading 1555 assets... (100.0%)
In the job I checked, there was 1400+ lines of progress for upload. And most of them seemed to have unchanged percentage, where only the symbol at the beginning was changing.
It would be great if deployctl
could auto-detect when the shell/terminal/stdout is non-interactive, and automatically change to either remove remove progress entirely, only log when % changes, or log in an interval.
callionica, nanikit and vicary
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request