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

Payload does not work #128

Closed
paul-uz opened this issue Jun 28, 2022 · 4 comments
Closed

Payload does not work #128

paul-uz opened this issue Jun 28, 2022 · 4 comments
Labels

Comments

@paul-uz
Copy link

paul-uz commented Jun 28, 2022

Same issue as here #63

OP fixed it using the formatter, but I'd prefer it to work out of the box as per the documentation.

Can this be looked into?

@AndiDittrich
Copy link
Member

not sure what's wrong, #63 shows the correct code which is exactly documented like this

@paul-uz
Copy link
Author

paul-uz commented Jun 28, 2022

#63 only worked because they used the format option.

The documentation for using the payload (in a multibar, which is what I am using) does not show the format option being used with a payload, see here https://github.com/npkgz/cli-progress#example-1

I even tried using the payload key of filename like in the example, but that didn't work either.

It only works when using the format option.

@AndiDittrich
Copy link
Member

ok sry, i've to add the format option to this particular example

AndiDittrich added a commit that referenced this issue Jun 28, 2022
@AndiDittrich
Copy link
Member

docs have been updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants