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, Feb 9, 6:36 AM
Unknown Object (File)
Sun, Feb 9, 6:36 AM
Unknown Object (File)
Sun, Feb 9, 6:36 AM
Unknown Object (File)
Tue, Jan 28, 6:23 AM
Unknown Object (File)
Tue, Jan 28, 4:15 AM
Unknown Object (File)
Tue, Jan 28, 4:15 AM
Unknown Object (File)
Tue, Jan 28, 4:15 AM
Unknown Object (File)
Sat, Jan 25, 3:42 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
Branch
discover4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21011
Build 28543: Run Core Tests
Build 28542: arc lint + arc unit