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
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
Unknown Object (File)
Oct 15 2024, 3:22 PM
Unknown Object (File)
Oct 9 2024, 10:21 AM
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