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)
Sun, Mar 17, 12:32 AM
Unknown Object (File)
Sat, Mar 9, 3:38 AM
Unknown Object (File)
Feb 21 2024, 10:15 AM
Unknown Object (File)
Feb 3 2024, 7:38 PM
Unknown Object (File)
Dec 27 2023, 12:52 PM
Unknown Object (File)
Dec 25 2023, 3:14 PM
Unknown Object (File)
Dec 22 2023, 12:31 AM
Unknown Object (File)
Dec 21 2023, 3:59 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