Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistExportWorkflow.php
| Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | return array( | ||||
| 'param' => 'file', | 'param' => 'file', | ||||
| 'help' => | 'help' => | ||||
| "Export change as an arc bundle. This format can represent all ". | "Export change as an arc bundle. This format can represent all ". | ||||
| "changes. These bundles can be applied with 'arc patch'.", | "changes. These bundles can be applied with 'arc patch'.", | ||||
| ), | ), | ||||
| 'encoding' => array( | 'encoding' => array( | ||||
| 'param' => 'encoding', | 'param' => 'encoding', | ||||
| 'help' => | 'help' => | ||||
| "Attempt to convert non UTF-8 patch into specified encoding.", | 'Attempt to convert non UTF-8 patch into specified encoding.', | ||||
| ), | ), | ||||
| 'revision' => array( | 'revision' => array( | ||||
| 'param' => 'revision_id', | 'param' => 'revision_id', | ||||
| 'help' => | 'help' => | ||||
| "Instead of exporting changes from the working copy, export them ". | 'Instead of exporting changes from the working copy, export them '. | ||||
| "from a Differential revision." | 'from a Differential revision.' | ||||
| ), | ), | ||||
| 'diff' => array( | 'diff' => array( | ||||
| 'param' => 'diff_id', | 'param' => 'diff_id', | ||||
| 'help' => | 'help' => | ||||
| "Instead of exporting changes from the working copy, export them ". | 'Instead of exporting changes from the working copy, export them '. | ||||
| "from a Differential diff." | 'from a Differential diff.' | ||||
| ), | ), | ||||
| '*' => 'paths', | '*' => 'paths', | ||||
| ); | ); | ||||
| } | } | ||||
| protected function didParseArguments() { | protected function didParseArguments() { | ||||
| $source = self::SOURCE_LOCAL; | $source = self::SOURCE_LOCAL; | ||||
| ▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines | |||||