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)
Wed, Feb 19, 11:23 PM
Unknown Object (File)
Feb 9 2025, 6:36 AM
Unknown Object (File)
Feb 9 2025, 6:36 AM
Unknown Object (File)
Feb 9 2025, 6:36 AM
Unknown Object (File)
Jan 28 2025, 6:23 AM
Unknown Object (File)
Jan 28 2025, 4:15 AM
Unknown Object (File)
Jan 28 2025, 4:15 AM
Unknown Object (File)
Jan 28 2025, 4:15 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
Branch
discover4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21011
Build 28543: Run Core Tests
Build 28542: arc lint + arc unit