Changeset View
Changeset View
Standalone View
Standalone View
scripts/arcanist.php
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | $base_args->parsePartial( | ||||
| array( | array( | ||||
| array( | array( | ||||
| 'name' => 'load-phutil-library', | 'name' => 'load-phutil-library', | ||||
| 'param' => 'path', | 'param' => 'path', | ||||
| 'help' => pht('Load a libphutil library.'), | 'help' => pht('Load a libphutil library.'), | ||||
| 'repeat' => true, | 'repeat' => true, | ||||
| ), | ), | ||||
| array( | array( | ||||
| 'name' => 'library', | |||||
| 'param' => 'path', | |||||
| 'help' => pht('Load a library (same as --load-phutil-library).'), | |||||
| 'repeat' => true, | |||||
| ), | |||||
| array( | |||||
| 'name' => 'arcrc-file', | 'name' => 'arcrc-file', | ||||
| 'param' => 'filename', | 'param' => 'filename', | ||||
| ), | ), | ||||
| array( | array( | ||||
| 'name' => 'conduit-uri', | 'name' => 'conduit-uri', | ||||
| 'param' => 'uri', | 'param' => 'uri', | ||||
| 'help' => pht('Connect to Phabricator install specified by __uri__.'), | 'help' => pht('Connect to Phabricator install specified by __uri__.'), | ||||
| ), | ), | ||||
| Show All 17 Lines | |||||
| )); | )); | ||||
| $config_trace_mode = $base_args->getArg('trace'); | $config_trace_mode = $base_args->getArg('trace'); | ||||
| $force_conduit = $base_args->getArg('conduit-uri'); | $force_conduit = $base_args->getArg('conduit-uri'); | ||||
| $force_token = $base_args->getArg('conduit-token'); | $force_token = $base_args->getArg('conduit-token'); | ||||
| $custom_arcrc = $base_args->getArg('arcrc-file'); | $custom_arcrc = $base_args->getArg('arcrc-file'); | ||||
| $is_anonymous = $base_args->getArg('anonymous'); | $is_anonymous = $base_args->getArg('anonymous'); | ||||
| $load = $base_args->getArg('load-phutil-library'); | $load = array_merge( | ||||
| $base_args->getArg('load-phutil-library'), | |||||
| $base_args->getArg('library')); | |||||
| $help = $base_args->getArg('help'); | $help = $base_args->getArg('help'); | ||||
| $args = array_values($base_args->getUnconsumedArgumentVector()); | $args = array_values($base_args->getUnconsumedArgumentVector()); | ||||
| $working_directory = getcwd(); | $working_directory = getcwd(); | ||||
| $console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
| $config = null; | $config = null; | ||||
| $workflow = null; | $workflow = null; | ||||
| ▲ Show 20 Lines • Show All 590 Lines • Show Last 20 Lines | |||||