Page MenuHomePhabricator

Add "--browse" to "arc upload" and update behavior, particularly "--json"
ClosedPublic

Authored by epriestley on May 1 2020, 3:06 PM.

Details

Summary

Ref T13528. Provide a "--browse" flag to open files after they are uploaded.

Update the code to use modern query strategies.

This impacts the output of "--json", which was just raw "file.info" output before and could not represent the same path being passed several times (arc upload X X).

Test Plan

Ran arc upload with --browse and --json.

Diff Detail

Repository
rARC Arcanist
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 1 2020, 4:13 PM
This revision was automatically updated to reflect the committed changes.