Skip to content
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

Feat/progress bar #174

Merged
merged 26 commits into from
Oct 1, 2022
Merged

Feat/progress bar #174

merged 26 commits into from
Oct 1, 2022

Conversation

reubenmiller
Copy link
Owner

@reubenmiller reubenmiller commented Aug 28, 2022

Upload/Download progress bars

Progress bars are enabled by default when in terminal mode to show the progress when uploading or downloading files from the platform.

Uploading

c8y binaries create -f --file ~/Downloads/draw.io-arm64-19.0.3.dmg
elapsed 00:13   draw.io-arm64-19.0.3.dmg  [━━━━━━━━━━━━━━━━━              ] 55 %  67.72 MiB / 122.70 MiB

Downloading

c8y binaries get --id 390552 --outputFileRaw dmg01.tmp.dmg > /dev/null
elapsed 00:03   draw.io-arm64-19.0.3.dmg  [━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━     ] 87 %  106.41 MiB / 122.70 MiB
  • c8y microservices create --file tools/PSc8y/Tests/TestData/microservice/helloworld.zip

Disable progress bar

The progress bar can be disabled by using --noProgress

c8y binaries create -f --file ~/Downloads/draw.io-arm64-19.0.3.dmg --noProgress

@reubenmiller
Copy link
Owner Author

Failed tests are due to a temp microservice hosting error on the test runner system.

@reubenmiller reubenmiller merged commit 4edc399 into v2 Oct 1, 2022
@reubenmiller reubenmiller deleted the feat/progress-bar branch October 1, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant