HomePhabricator

Allow PhutilConsoleProgressBar to be quiet

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

Provenance
richardvanvelzenAuthored on
epriestleyCommitted on Jun 16 2014, 10:47 PM
epriestleyPushed on Jun 16 2014, 10:47 PM
Reviewer
Blessed Reviewers
Differential Revision
D9586: Allow PhutilConsoleProgressBar to be quiet
Parents
rPHUfdbc18012baa: Fix the width of `PhutilConsoleTable` if the header row is wider than the data…
Branches
Unknown
Tags
Unknown

Event Timeline