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
F14097504: D19744.diff
Tue, Nov 26, 7:13 AM
Unknown Object (File)
Sat, Nov 23, 11:09 AM
Unknown Object (File)
Tue, Nov 19, 12:32 PM
Unknown Object (File)
Fri, Nov 15, 12:38 PM
Unknown Object (File)
Sun, Nov 10, 10:31 PM
Unknown Object (File)
Wed, Nov 6, 11:50 PM
Unknown Object (File)
Oct 20 2024, 7:10 AM
Unknown Object (File)
Oct 18 2024, 4:51 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