Homec4science

Allow PhutilConsoleProgressBar to be quiet

Authored by Richard van Velzen <rvanvelzen1@gmail.com> on Jun 17 2014, 00:47.

Description

Allow PhutilConsoleProgressBar to be quiet

Summary:
This allows you to use the progress bar even if you don't want it to output anything. This can simplify logic in other parts of your code.

$progress = new PhutilConsoleProgressBar();
$progress->setQuiet(true);
// etc.

Test Plan: derpy

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9586

Details

Committed
epriestley <git@epriestley.com>Jun 17 2014, 00:47
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUfdbc18012baa: Fix the width of `PhutilConsoleTable` if the header row is wider than the data…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU5c6aaa12af5e: Allow PhutilConsoleProgressBar to be quiet (authored by Richard van Velzen <rvanvelzen1@gmail.com>).Jun 17 2014, 00:47