Page MenuHomePhabricator

In "bin/bulk export", require "--output <path>" by default
ClosedPublic

Authored by epriestley on Oct 11 2018, 7:38 PM.
Tags
None
Referenced Files
F13085268: D19744.diff
Wed, Apr 24, 11:45 PM
Unknown Object (File)
Mon, Apr 22, 9:07 AM
Unknown Object (File)
Fri, Apr 19, 8:01 PM
Unknown Object (File)
Fri, Apr 19, 8:33 AM
Unknown Object (File)
Thu, Apr 18, 8:33 AM
Unknown Object (File)
Wed, Apr 17, 3:17 AM
Unknown Object (File)
Tue, Apr 16, 10:58 PM
Unknown Object (File)
Sat, Apr 13, 9:39 PM
Subscribers
None

Details

Summary

Depends on D19743. Ref T13210. Since this command can easily dump a bunch of binary data (or just a huge long blob of nonsense) to stdout, default to requiring "--output <file>".

Using --output - will print to stdout.

Test Plan

Ran with: no --output, --output file, --output -, --output - --overwrite. Got sensible results or errors in all cases.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable