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)
Jun 22 2026, 3:19 PM
Unknown Object (File)
Jun 20 2026, 12:13 AM
Unknown Object (File)
Jun 9 2026, 2:27 AM
Unknown Object (File)
Apr 16 2026, 6:37 AM
Unknown Object (File)
Apr 5 2026, 8:27 PM
Unknown Object (File)
Apr 5 2026, 8:27 PM
Unknown Object (File)
Dec 4 2025, 6:33 AM
Unknown Object (File)
Nov 1 2025, 6:16 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