Skip to content

CLI input options and documentation #975

@farid-fari

Description

@farid-fari
  • I have marked all applicable categories:
    • exception-raising bug
    • visual output bug
    • documentation request (i.e. "X is missing from the documentation." If instead I want to ask "how to use X?" I understand [StackOverflow#tqdm] is more appropriate)
    • new feature request

The CLI, if I understood correctly, counts one iteration for each newline character it reads in stdin, which it forwards to stdout. I have not seen this documented anywhere, it would be nice if it were.

The feature request is regarding this behaviour: there should be an option for different types of inputs, the first and most obvious one being receiving the number of iterations directly on standard input:

5
8
12

Such an input would make the bar progress to 5, then 8 and then 12 iterations.

My use-case is ffmpeg progress indication, where I am able to parse its frame progress into integers, but ffmpeg has no option to output such information at each frame.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions